Basic jQuery question:
I am trying to reveal a div that has been marked as hidden using jQuery. But am not quite getting it
I’ve created a JSFiddle here: http://jsfiddle.net/VwjxJ/
Basically, I want to use style="visibility: hidden;" rather than style="display: none;" as I want the space of the hidden element to be maintained
Have tried using show(), fadeIn() etc but neither work (they do for style="display: none;")
what am I doing wrong?
If you have hidden it with
visibility:hiddenthen you can show it with jQuery byAnd in the fiddle you are missing jQuery. Here is a demo: http://jsfiddle.net/9Z6nt/20/