Posted By

rumremix on 04/28/10


Tagged

jquery common


Versions (?)

jquery common function syntax


 / Published in: jQuery
 

  1. $(function() {
  2. // Handler for .ready() called.
  3. });
  4.  
  5. //waits until all page assets loaded
  6. $(window).load(function(){
  7. // Handler
  8. });
  9.  
  10.  
  11. $('#target').click(function() {
  12. alert('Handler for .click() called.');
  13. return false;
  14. });

Report this snippet  

You need to login to post a comment.