Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
jQuery Mobile breaks jQuery.serializeArray() by including submit button #3925
If you take a look at http://jsfiddle.net/kborchers/Amf5x/3/, you'll see that when you fill out the form, the array that is logged contains the submit button but the exact same code here without jQuery Mobile http://jsfiddle.net/kborchers/Amf5x/4/ does not include the submit button. I would imagine that the submit button should not be there which is why I am filing the issue here and not in core. Also, the same issue exists here http://jsfiddle.net/kborchers/Amf5x/5/ with latest jQM and jQ1.7.1.
This is due to the buttonPlaceholder that gets injected in jquery.mobile.forms.button.js