Just alert() when DOM is ready: $(document).ready(function(){ //alert("HELLO"); }); HTML: If you want to use JQuery alerts read about them here: http://abeautifulsite.net/notebook/87 HTML: