This one is killing me.
I have a fairly complicated JavaScript routine fired by a button click on a JQM form that functions fine in desktop browsers, but does nothing at all in PhoneGap (all platforms).
The JQM code I'm using to fire the script is:
<input type=button value="Submit" onClick="function(blah,int);">
Which works fine everywhere else...
I've tried various ways of doing this including input type="submit" and moving the function call to the form tag for post, ensuring that all links leading to the page have data-rel="external" set to move out of the main page DOM... nothing makes any difference. What makes a button die in PhoneGap but work in all desktop browsers?
int
as a keyword. – sissonbbutton
in quotes? – Daedalus