loading
Please wait while loading...
Back Difference between $(window).load() & $(document).ready()

When we using jQuery, we would always call $(document).ready(function() { } ). However, document.ready is only prvoide for load script when the DOM is ready. If you want to show your page when all the element is ready (Such as make a loading screen), then you would suggested to use $(window).load() which is the same as window.load on js. This would run your code after all element include images, frames are loaded.

Comments
comments powered by Disqus