www.sitepoint.com
Quick Tip: Replace jQuery’s Ready() with Plain JavaScript
1
Julian Motz takes a look at jQuery's document.ready() method and shows how it can be replaced with vanilla JS, and is often not needed at all! Read full article