What are differences between
$(document).ready(function(){
//my code here
});
and
$(window).load(function(){
//my code h
The ready event is always execute at the only html page is loaded to the browser and the functions are executed.... But the load event is executed at the time of all the page contents are loaded to the browser for the page..... we can use $ or jQuery when we use the noconflict() method in jquery scripts...