|
|
Q80 How can I pass checkbox or radio value to another page?
irt.org | Knowledge Base | JavaScript | Form 10.3 | Q80 [ previous next ] Q80 How can I pass checkbox or radio value to another page?The trick is to name all the form elements. That way when the form is submitted it will pass the name and value pair to the next page as part of the location, which can be accessed using the search property:
And then in myPage.html:
You then have to manipulate the string to access the names and values. One point to remember - this facility of passing stuff between one page and another does not work offline when using MS Internet Explorer. It does online though. Feedback on 'Q80 How can I pass checkbox or radio value to another page?' |
-- div -->
|