Found the answer on another site. Maybe I'm using an old iui.js or
something but looks like you have to modify the iui.js submit function
to:
if (form.getAttribute("redirect") == "true")
form.submit();
else
iui.showPageByHref(form.action || "POST", encodeForm(form),
form.method);
then add redirect="true" to the FORM tag
On Feb 18, 8:48 am, jamez <[email protected]> wrote:
> Hi, I have a question hopefully someone can point me in the right
> direction.
>
> After I have submitted by form I want to return to my homepage.
> Problem is I'm not using a link (<a href) to submit so I cant use the
> target="_self" tag. My submit code returns a normalhttp://link -
> which loads OK after submission but it has a duplicate toolbar because
> the page has been loaded as a framment.
>
> Is there any way to append something to thehttp://linkto simulate
> the target="_self" iui external url functionality?
>
> Many Thanks, James
--
You received this message because you are subscribed to the Google Groups
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/iphonewebdev?hl=en.