Why doesn't this JQuery event to fire in gmail?
问题 I am having problem with binding a Jquery event to gmail 'body' $('body').on('click', function(event) { console.log("Entered function"); }); Visit IMDB.com (for eg) and in google chrome developer console paste in the above code. When you click on the page, you can see "Entered function" printed on the console. But when I try the same with gmail, I get the following message: TypeError: Object #<HTMLBodyElement> has no method 'on' What is going on with gmail, and how do I work around this? EDIT