JavaScript index pageHome

 

JavaScript
Sending Form Data to Another Page

Someone on the comp.lang.javascript newsgroup asked how to send information in a form to another entirely separate page. If you are in a frameset, sending information is relatively easy, since all the pages in the frameset can communicate information to each other. But if you have two entirely different pages, the only way is to send information via the query string and then to decipher the string when it arrives at the next page. But you have to be careful, since the next page is not going to "know" what data it should be expecting, and some of the data may be missing, if, say, a checkbox is not checked. Hence make sure to initialize all the expected variables to "" at the beginning of the second page's script.

whatever
and another thing


 


| Writing | Web Site Design | Programming | Guitar | Links |

JavaScript index page

E-mail Pete the answers to all his questions.

 

Home