[thelist] javascript and form processing

Wolfgang Klinger hermann.klinger at chello.at
Fri Feb 22 03:29:10 CST 2002


Hi!

in a frameset (main site called "content")
I have a form with action="mailto:..." (no other way possible for
this site) and I want to redirect the user to another site
("Thank you ... blabla") ... in the "content" frame,
how can do this?

I tried the following:

onsubmit="parent.content.location.href='thankyou.html';return true;"
in the <form> tag

-(or)-

onclick="document.forms.myform.submit();parent.content.location.href='thankyou.html';return false;"
in the <input type="submit"..> tag

neither works ... any suggestions?

tia
Wolfgang






More information about the thelist mailing list