On Dec 30, 9:49 am, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> It could be that you're getting a JavaScript error which is causing the
> redirect. Do you have code attached to the submit event?
Actually no, maybe that is the problem?
> Also, are you
> setting src attribute of the iframe?
I have tried leaving it blank and excluded altogether.
> On Dec 30, 2007 8:28 AM, yabado <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello,
>
> > I am trying to submit a form to a an iframe target.
>
> > I have the correct target name specified in the form, but a new page
> > loads (top) instead of in the desired iframe.
>
> > The iframe is created dynamically like so...
>
> > jQuery("body").append("<iframe id=\"myiframe\" ...></iframe>");
>
> > and the form looks like so ...
>
> > <form action="http://www.domain.com" target="myiframe" ...>
>
> > What do I need to do to make this work?