I use JSFiddle for editing my code. However, in certain codes when I\'m running JavaScript or jQuery, it doesn\'t work unless I select \"No wrap -
onload means all sources in the page are loaded ( include image css and js), domReady just means the dom tree is done.