Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What jQuery event is called right after $(document).ready()?

I have lots of HTML generated on $(document).ready(). I have a simple window system. But not only it is generated on $(document).ready() - also some HTML elements (different JS files put stuff into $(document).ready() ). I want my window system to be generated after $(document).ready() is called. So how do I handle a function to be called after all the code registered in $(document).ready() is completed?

like image 752
myWallJSON Avatar asked Jan 18 '12 13:01

myWallJSON


1 Answers

  $(window).load(function(){
   //some code after ready 
  });
like image 168
iqmaker Avatar answered Sep 19 '22 19:09

iqmaker