Call a javascript method on all events occurence
Hi
I am new to Jquery Mobile.
I would like to know is there a way to call a javascript method on all the event clicks of the events available on mobile.
Reason : I need to call a javascript method which will set a variable to 0 which would suggest that the application is not in idle for it to time out.
so if there is a way to count on all the event and call the javascript mentid that would be great.
clearly :
there exist a function already(
parent.postMessage("alive message","*"); 0
) which is in the integrated system which I need to call on all the events which will take care of the rest.
all i need to do is call this.
cheers,
Vinay