views:

116

answers:

1

I can use this just fine in a window

$('#dropDownSpan').css('visibility', 'visible'); 

but how can I use it in another window which is child of this window or may be opened by this window.

I tried:

 $window.parent.('#dropDownSpan').css('visibility', 'visible'); 

but that didnt work, any idea?

+1  A: 

$('#dropDownSpan', window.parent.document).css('visibility', 'visible');

this worked for me so I added it here. Thanks guys!