/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$(function() { // Handler for .ready() called. }); //waits until all page assets loaded $(window).load(function(){ // Handler }); $('#target').click(function() { alert('Handler for .click() called.'); return false; });