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?
$(window).load(function(){
//some code after ready
});
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With