It could be that you're getting a JavaScript error which is causing the
redirect.  Do you have code attached to the submit event?  Also, are you
setting src attribute of the iframe?



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?
>

Reply via email to