155
rated 0 times
[
159]
[
4]
/ answers: 1 / hits: 34895
/ 13 Years ago, wed, july 27, 2011, 12:00:00
I need to hide all elements of type 'section' in my document apart from one with a particular ID.
In jquery this would be easy
$(section).hide();
$(section#myId).show();
How would I do this without jquery??
(I need it to happen as soon as the page loads and to not be noticable). I also need it to work cross browser.
Thanks.
More From » javascript