5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <title>jQuery Mobile: Event Logger</title>
7 <link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" />
8 <link rel="stylesheet" href="../../docs/_assets/css/jqm-docs.css" />
9 <script src="../../js/jquery.tag.inserter.js"></script>
10 <script src="../../js/jquery.js"></script>
11 <script src="../../docs/_assets/js/jqm-docs.js"></script>
12 <script src="../../js/"></script>
16 $( "a" ).bind("tap click",function( e ){
18 .prepend("<li>"+ e.type +" event; target: "+ e.target.nodeName +"</li>")
22 .bind("tap click", false);
33 <div data-role="page" data-theme="b" id="jqm-home">
34 <div data-role="header">
38 <div data-role="content">
39 <p>Touch events on this page will log out below, prepending to the top as they arrive.</p>
41 <a href="foo.html" data-role="button">Click me</a>
43 <ul data-role="listview" id="log">