[thelist] iframe form calls to a parent

John Hicks johnlist at gulfbridge.net
Wed May 17 17:15:22 CDT 2006


Daniel Kessler wrote:
> I have an iframe with a form in it.  When the form submits, I want  
> the parent of the iframe to go to the next page where I can use the  
> form variables.  I do the submit through javascript using:
> document.thinking.action="feedback.cfm";
> document.thinking.submit();
> 
> But I'd like that action to target _parent.  I dunno how to do that.
> 
> thanks!

The target attribute of the form tag is what you want to use:
http://www.w3.org/TR/html4/present/frames.html#adef-target

--J



More information about the thelist mailing list