Hi,
I have a form that holds radio checkboxes (questionnaire) , when user press submit button a function in javascript is executed to evaluate the answers in the questionnaire. Based on how many points the user have got a message is to be displayed on the page(if the user has passed/failed). The problem: All variables are flushed when the user press submit and the page reloads. I want to print out one of the variables on the same page (either by “innerHTML” or “document.write()”. How do I execute this function in the form without a reload of the page? OR How do I maintain the variables on the page when the page reloads?
I can not use any server language since this file will only be published on DVD/CD-ROM.
Thanx in advance
Regards
/Christoffer