Might be simple but I can find a reasonable explanation for that
$(document).ready(function(){
$(document).click(function () {
alert('ok');
});
});
Does not fire the alert();
I am using the newest google chrome. Does browser put some restriction for that as there is in ajax callback functions?
Edit 1: Code is within $(document).ready();
I think you forgot to Encapsulate your code with
or