Why is my alert not displaying on page load, but it will display if I do
it immediately?
I have this simple script:
$(document).ready(function() {
alert("HI");
)};
Alert never shows up though. But if I remove the document.ready part, it
will load immediately. Does anyone have any idea why?
No comments:
Post a Comment