Forum Moderators: open
I am doing a seties of short tutorials and need to pass answer values from a form to a javascript function which then displays answers in a results page based on those choosen by the user. The function I'm using passes the answer values to the URL and then parse them into an array from which a switch statement sorts out which answer to print to screen. WOrkd fine so far.
NOw the client asks if the values can be held for a couple more pages of questions and the answers all printed to screen together at the end.
Does anyone have any ideas how best to do this?
This is that I'm using to get the values in to the URL:
(lo3 id the id on the dropdown selected)
lot3=document.getElementById ("lo3").value;window.location ="less_obs_answers1.htm?lo3="+lot3
document.getElementById("myLink").href =
"nextPage.html?" + window.location.search + "¶m14=" + param14 +
"¶m15=" + param15;