How to exclude button value from GET method
Posted: Thu Oct 09, 2008 6:04 am
In my submission form I use GET method to retrieve the 'page' value, this is what I only need.
However, after submitted the url looks like this,
This is my form
I want it to show like this,
However, after submitted the url looks like this,
It passes the 'paging' value too which I don't need.
This is my form
Code: Select all
<form id="form1" name="form1" method="get" action="index.php">
<label>
<input name='page' type='text' id='page' size='3' value='2'/> of 2
</label>
<label>
<input type='submit' name='paging' id='paging' value='Go' />
</label>
</form>How can I exclude the submit button 'paging' that has the 'Go' value?