Hey,
I have a js function that submits a form to an iframe. The js to do it is like so
This works fine in IE,FireFox,Netscape,Mozilla and so on. However, in Safari 1.2 it opens a new window. Which is supposed to only happen when a forms target does not exists. Has anyone else seen this? Is there another way to set the target? I have very little experience with Safari, this is actually the first time I have looked at it.
Thanks for any help.
later
I have a js function that submits a form to an iframe. The js to do it is like so
Code:
//sending in our form reference and where we want to
//post the form
function submitTemp(form,where)
{
//making the forms target an iframe
form.target="tempSaveIframe";
form.method="POST";
form.action=where;
form.submit();
}
This works fine in IE,FireFox,Netscape,Mozilla and so on. However, in Safari 1.2 it opens a new window. Which is supposed to only happen when a forms target does not exists. Has anyone else seen this? Is there another way to set the target? I have very little experience with Safari, this is actually the first time I have looked at it.
Thanks for any help.
later