Javascript examples for jQuery:Document
Jquery document click function
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://code.jquery.com/jquery-3.1.1.js"></script> </head> <body> <a class="pushStateLink" href="">Click</a> <script type="text/javascript"> $(document).on("click",".pushStateLink",function() { console.log("pushstate"); });/* ww w .ja va 2 s . c om*/ </script> </body> </html>