Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Displaying score using javascript

Status
Not open for further replies.

Amara82

Programmer
Jun 26, 2003
6
GB
Hi,
I really need help on this one as this is for my project that has to be in soon. I have a game that i've designed using dreamweaver. The computer gives you a questionn with three options of possible answers. The user has to select one answer if he/she get's it right the computer will display a another questionn and so on. I would like the computer to display how many questionns the user has answered correctly and how many incorrectly.

Now, using Java script how can i do that. Please Please Please someone help me!!!!!!!!!!!!!!!!!!!!

Thank you!
 
Using only Javascript and no server support (PHP,ASP, CFML or JSP) you either create a hidden field that carries the score from page to page or create a cookie and read/modify that whenever you get to the next question.



grtfercho çB^]\..
"Imagination is more important than Knowledge" A. Einstein
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top