WEBINAR:
On-Demand
Building the Right Environment to Support AI, Machine Learning and Deep Learning
jQuery developers often use $().ready
or $(document).ready
to initialize jQuery functions after the HTML page has loaded. However, it is fired when the HTML objects are still being downloaded by the browser. This can cause the browser to hang at times.
A good alternative is to use the window.load event to initialize the functions.
$(window).load(function()
{
}
Visit the DevX Tip Bank