Link to home
Start Free TrialLog in
Avatar of ethar turky
ethar turkyFlag for Saudi Arabia

asked on

frame

Dear all,
How get passed Parameter to parent window from inside frame?

Avatar of Zyloch
Zyloch
Flag of United States of America image

Hi

Can you elaborate a little? Are you passing a variable that is inside the frame to the parent? Or do you want a variable that was set in the parent window? If the latter, you can use parent.variableName.

Regards,
Zyloch
Avatar of ethar turky

ASKER

I want a variable that was "SENT" to the parent window

http://xx.com/x.asp?param1=t


I want to get param1 from frame window.
Thanks
ASKER CERTIFIED SOLUTION
Avatar of Zyloch
Zyloch
Flag of United States of America 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
Thanks very much
This is answer my question perfectly, but I have one more question,
the value now stored in javascript , how can pass it to asp code?
Thanks.
You have to refresh the page and attach it to the end of your URL in the frame. That's the only way, then you can pick it out with ASP. For instance:

self.location=self.location.href+param;

Then grab it out of the URL with ASP.