I have an application written using PhoneGap 1.0 and jQuery Mobile 1.0b2 running on iPhone and iPad.
Ever since I started using the framework, I have been plagued by per
Another way to improve the performance of the PhoneGap App is as follows :-
As @Kimm said :-
$('#myButton').bind('vclick', function(ev) {
ev.preventDefault();
//Your code
});
Here the response will be far better than .click but the system may propagate the event in some cases which results in an un-expected behaviour. To solve this problem use :-
$('#myButton').bind('vclick', function(ev) {
ev.preventDefault();
//Your code
return false;
});
Using this every thing will be proper and no side effects... :)