jQuery: if my css visibility:hidden, how can i appear my elements?

davidino picture davidino · Dec 8, 2010 · Viewed 43.8k times · Source

in my css i've set some elements visibiliy:hidden, how can I show them?

I've done it before with opacity, but i've some bug in IE:

var i = 0;
$mySelection.each(function(i) {
    $(this).delay((i * 100) + ($mySelection.length)).animate(
        { opacity: "1"},
        {queue:true, duration:1000, easing:"quartEaseIn"}
    ); 
})

How can i do if I want controll visibility with jQuery instead of opacity? thank you

Answer

karim79 picture karim79 · Dec 8, 2010
$(":hidden").css("visibility", "visible");