I'm trying to create a popup for which I am using jQuery's CSS function.Here's the code:
function Show_Popup(action, userid) {
$('#content').css("opacity","0.7");
$('#window').fadeIn('fast');
$('#window').css("opacity","1.0");}
Here #window is inside #content.Hence when it "fades in",its opacity is also set to 0.7,which I am trying to override via the 3rd line of code.But its not working.Any way around this?Thanks.