Javascript examples for jQuery:Mouse Event
Adding a jQuery Click handler for id=":0.my"
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script type="text/javascript"> $(window).load(function(){//from ww w. jav a 2 s.c om $("#\\:0\\.my").click(function () { console.log('Clicked'); } ); }); </script> </head> <body> <div id=":0.my"> Click me </div> </body> </html>