Link to home
Start Free TrialLog in
Avatar of rivkamak
rivkamakFlag for United States of America

asked on

set jquery identifier from popup window to parent window

I have a popup window from my page and after the user finishes what they did, the popup window closes.
is there anything I can script in javascript or jquery on the popup box to make something happen to a selector on the parent window?
Avatar of Albert Van Halen
Albert Van Halen
Flag of Netherlands image

refer to jquery object in the parent window via
window.opener.$

Open in new window

same origin?

$("#someDiv", window.opener.document).html("some html");
Avatar of rivkamak

ASKER

Let's say I don't use jquery.

window.opener.form1["cancelreason" + dsrow].value="test";
window.opener.form1["status" + dsrow].style.visibility = "hidden";


the first line works,  the second one doesn't
Does

window.opener.form1["cancelreason" + dsrow].style.visibility = "hidden";
?
visibility works.
how can I change the background-color?
does it make a difference that I am working off a select box?
ASKER CERTIFIED SOLUTION
Avatar of Michel Plungjan
Michel Plungjan
Flag of Denmark image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial