What's wrong with clicking a Submit button?
Anyway, the only way to get the data from the client to the server is to use a form that submits to the server, whether it uses Post or Get doesn't really matter.
You can submit the form in a few ways. One you already know: the <input type="submit" />.
A second alternative is to use an image (<input type="image" src="bla.gif" />). When clicked, this image will perform the same as a submit button as it will submit the form to the server.
The third option is to use script. A general button (or any other HTML element) can fire JavaScript that submits the page to the server:
<input type="button" onclick="document.MyForm.submit();" value="Click Me" />
HtH,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
|