I am new to Javascript and jQuery so i have very silly doubt please bear with me
$(document).click(function () {
alert("!");
var e = event || window.event;
alert("!");
});
if i click on any part of the webpage then i should get two alerts with "!" as the text, it is working as expected in Chrome. In Firefox it is alerting only once