The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript document ready Re: document ready


Sorry, just meant your code snippet would work within CodePen without jQuery or document ready. If you’re going to be using other jQuery code on your page then uses that.

For pure JavaScript there are various methods of checking everything is loaded which I’m not too familiar with as I always end up using jQuery anyway.