I have some JQuery code that shows or hides a div.
$(\"div#extraControls\").show(); // OR .hide()
I initially want the div to be not visi
The best way to load javascript function over page is loaded, is
$(window).bind("load", function() { // code here });
In your case
div.hidden { display: none } $(window).bind("load", function() { $("div#extraControls").removeClass("hidden"); });