stormtrooper
asked on
CGI script returning a HTML document to a given frame
How to have a CGI script return a HTML document to a given frame ?
I defined a frameset with two frames frameA and frameB.
I defined a form formX in frameB.
Should the user submit formX, I want the CGI script to return a HTML document
which modifies frameA and not frameB.
It's easy with a simple hyperlink:
<A TARGET="frameA" HREF="http://www.something.com">
But this doesn't work with javascript:
<A TARGET="frameA" HREF="javascript:'window.t op.frameB. document.f ormX.submi t ()'">
How to proceed ?
I defined a frameset with two frames frameA and frameB.
I defined a form formX in frameB.
Should the user submit formX, I want the CGI script to return a HTML document
which modifies frameA and not frameB.
It's easy with a simple hyperlink:
<A TARGET="frameA" HREF="http://www.something.com">
But this doesn't work with javascript:
<A TARGET="frameA" HREF="javascript:'window.t
How to proceed ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.