3
rated 0 times
[
4]
[
1]
/ answers: 1 / hits: 28111
/ 15 Years ago, tue, july 21, 2009, 12:00:00
display:none
means that the element isn't rendered as part of the DOM, so it's not loaded until the display property changes to something else.
visibility:hidden
loads the element, but does not show it.
Why does jQuery use display:none
for its show/hide functions instead of switching between visibility:hidden
and visibility:visible
?
More From » jquery