Can some of you please tell me why a simple alert() isn’t working using jQuery 1.4 in Internet Explorer 7, when it’s working in all other browsers? It’s been driving me crazy now for the last half an hour..!
$(document).ready(function(){
alert("wtf?");
})
This simple example doesn’t show an alert in IE7. See for yourself at http://jsfiddle.net/8HQdp/.
window.alert()– it’s possible (though improbable) that anotheralert()is conflicting withwindow‘s.If you have console support, try
console.log(alert);and see what it says. It should be something like: