[RESOLVED] Form action
I'm trying to change the url after submiting a form with the following code:
The url before I submit the form is: xxxxxx.com/folder/?a=findspikes and when I submit the form the url stays the same.
<form name="searchSpikes" action="?a=findspikes2" method="post">
<input type="textbox" name="maxprice" style="width:30px;">₪
<option value="35.0" selected="selected">35.0</option>
<option value="49.0" selected="selected">49.0</option>
<input type="button" name="find" >
Why it's not changed to ?a=findspikes2 ??
Last edited by bradgrafelman; 06-18-2013 at 12:48 PM.
Reason: bbcode tags modified
Thread moved to ClientSide Technologies forum (since this has nothing to do with PHP).
How are you submitting the form? It worked fine for me if I press return inside one of the text fields or if I change the input type of "find" to be "submit."
Well i click the submit button and the url stays the same, just to make sure.. When you click the button your url is changed?
Only if I change it to actually be a submit button. Your example HTML code snippet above does not contain a submit button.
Originally Posted by tnrh1
Oh thank you so much!!! case solved!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)