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?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…