The jQueryMobile Touch Events PRO

The jQueryMobile library enables us to hook up with various types of events. The touch events is one of them. The following code sample shows how to do it in order to handle the taphold event. <!DOCTYPE html> <html> <head> <title>My Cycling</title> <link rel=”stylesheet” href=”http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css” /> <script src=”http://code.jquery.com/jquery-1.9.1.min.js”></script> <script src=”http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js”> </script> </head> <body> <div data-role=”page” […]

Skip to content Update cookies preferences