in reply to Re^2: Reload a script with a new value for input when submit is clicked on an html form
in thread Reload a script with a new value for input when submit is clicked on an html form
should be<input type="text"/> <input type="submit" value="submit"/>
<input type="text" name="text"> <input type="submit" value="submit">
You didn't name the input field, so it wasn't getting sent to the server. Also, that slash is illegal HTML (although some browsers ignore it).
Both GET and POST will work, but I'd recommend GET here since the request has no side-effects.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Reload a script with a new value for input when submit is clicked on an html form
by Lady_Aleena (Priest) on Feb 23, 2010 at 19:00 UTC |