griegs
griegs

Reputation: 22760

Detect whether the screen has been touched

I have a jQuery Mobile app and the first page has a bunch of controls on it as well as blank areas.

I need to detect that the user has touched the screen, anywhere, and move to another page on touch.

Is there a way to do this naturally through jQuery Mobile or do I need to code it all in?

Upvotes: 1

Views: 300

Answers (1)

Sudhir Bastakoti
Sudhir Bastakoti

Reputation: 100175

You could check for tap event. ::Triggers after a quick, complete touch event. Ref: jqueryMobile Did you mean something like this.

Upvotes: 1

Related Questions