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