Question:Which option can be used to have jQuery wait for all images to load before executing something on a page? 

A All jQuery code need to add inside $function() { } syntax 

B With jQuery, can use $(document).ready() to execute something when the DOM is loaded and$(window).load() to execute something when all other things are loaded as well, such as the images. 

C With jQuery, can use $(document).ready() or $(window).load() syntax as these both are the same. 

D $(window).onLoad(function() { }) 

+ Answer
+ Report
Total Preview: 1049

Copyright © 2024. Powered by Intellect Software Ltd