Ready instead of On Load
-
I’ve noticed today a page with a YouTube iframe that sometimes takes a few seconds to load the video and causes the accordions not to work until all the page finishes loading. There are other scenarios where the page could take longer to finish loading as well, mainly external resources incorporated within the page.
I’ve tried using “ready()” instead of “on(‘load’)” and it fixed the problem, but I can’t be sure it doesn’t have any downsides.
Thanks for your time!
- The topic ‘Ready instead of On Load’ is closed to new replies.