Hello @all
I'm working on an html page containing multiple forms.
The forms holding some selectmenus.
Whenever i click the button to "submit" my form using:
- <input type="button" id="submitme" value="send" data-role="button" data-theme="a"/>
i alert some id's to check if posted my form correctly.
For a single form this works perfect.
But when have multiple forms on a page it also grabs the id's i check in the alert from the other forms.
I
don't want to use the regular way to submit a form:
submit() .
(ofcourse i'm open to a alternative to use the submit() function.
I just dont want my url getting changed.I'm also not familiar with this function :( )
I made a jsfiddle to give a more idea of what is happening.
PS: i use jquery-mobile ,but i think it is a default jquery related question.Thank you very much.