Response title
This is preview!
$(document).ready(function(){ $("a").click(function(event){ alert("Thanks for visiting!"); }); });
don't get anything, except the link.
The tutorial says: Save your HTML file and reload the test page in your browser. Clicking the link on the page should make a browser's alert pop-up, before leaving to go to the main jQuery page.
Have not seen the "Thanks..." alert. Is this the expected behavior?
Cheers.
© 2013 jQuery Foundation
Sponsored by and others.