on div load jquery code example
Example 1: jquery on load
$(function(){
// equal to $( document ).ready(function() {
});
Example 2: jquery onload function for div
$("#SomeDiv").ready(
function(){
//do stuff
});
$(function(){
// equal to $( document ).ready(function() {
});
$("#SomeDiv").ready(
function(){
//do stuff
});