Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Submitting a form to an ASP in an iframe

Status
Not open for further replies.

modalman

Programmer
Feb 14, 2001
156
GB
Hi. Whenever I try to submit a form to an iframe using the iframes name as the target the browser (ie5) always opens a new window as if the named iframe doesn't exist. Is that a disadvantage of an iframe or am I doing something wrong. My intention is for the ASP in the iframe to read the form fields. My code is:

document.exVars.target="myframe";
document.exVars.submit();

That is triggered from an onload so the iframe should be parsed by then. exVars is the form name. My iframe tag is:

<iframe name=&quot;myframe&quot; src=&quot;&quot;></iframe>

Many thanks in advance. ASCII silly question, get a silly ANSI
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top