Visibility attribute question

Posted by misha-moroshko on Stack Overflow See other posts from Stack Overflow or by misha-moroshko
Published on 2010-04-22T12:52:23Z Indexed on 2010/04/22 12:53 UTC
Read the original article Hit count: 165

Filed under:
|
|
|

What is the difference between

$("#myid").attr("style", "visibility: hidden")

and

$("#myid").css("visibility", "hidden")

?

© Stack Overflow or respective owner

Related posts about css

Related posts about jQuery