Posted on 2008-10-22
When I submit a form using the get method and it takes to the next html page. how do I access values from the previous page ?
Here's my form from the first page:
<form action="searchResults.html" method="get">
Search for the database:
<input type="text" name="query" />
<input type="submit" alue="Go" />
On the second page, the URL looks kind of like this if I entered 'xyz' into the input box:
How do I access whatever the user entered in the input box?