jquery fadeIn leaves opacity at 0
fadein, jquery
Solution
Some CSS is overriding your div when it is hidden..Better add the opacity style to your div as 1.
Else do,
$('#MyDiv').css('opacity','1');
After your fadeIn call...
Problem
I have this weird behavior with `.fadeIn()` If I write ``` $('#MyDiv').show(); ``` The div shows just fine. However, if I write ``` $('#MyDiv').fadeIn(400); ``` The div shows but with opacity `0`! The line before is: ``` $('#MyDiv').hide() .html(TheHTML) .css('top', 0); ``` UPDATE: if I write `$('#MyDiv').show(400);` The div also stays at opacity `0`.