Pages

Search This Blog

Friday, June 27, 2008

JQuery document ready

If you want to fire an event after the document ready using jquery, you can call function inside $(document).ready(function()){// put all jQuery function here}); or $(function() {// put all jQuery function here.});

You can use
  1. $(document).ready(function() {
  2. // put all jQuery code in here.
  3. });
or
  1. $(function() {
  2. // put all jQuery code in here.
  3. });

No comments: