body onload function in jquery code example Example: jquery onload function for div $("#SomeDiv").ready( function(){ //do stuff });