I’d like to hide a DIV on page load but cannot use CSS due to certain page restrictions that I have.
How can hide a DIV using Javascript or some other method? I’d like to have the DIV hidden on page load without requiring the user to press a button.
Cheers.
http://jsfiddle.net/nXvF5/
Or, in jQuery:
http://jsfiddle.net/nXvF5/1/