Modo alternativo de fazer o document ready


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. //Instead of
  2. $(document).ready(function() {
  3. //document ready
  4. });
  5. //Use
  6. $(function(){
  7. //document ready
  8. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.