SitePoint Sponsor |
|
User Tag List
Results 1 to 1 of 1
-
Apr 11, 2003, 05:28 #1
- Join Date
- Oct 2002
- Posts
- 7
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
submitting a form and redirection the page
I'm trying to submit a form [using a mailto: as the action] and redirect the page all in one go. I know I the sensible way is to use a FormMail script but circumstances don't allow it...
I've tried various ways of calling the two code bits I need, ie:
document.form[0].submit();
window.location='thanks.html';
However I think the problem stems from the POST method required for a mailto action. Once the form submits I cannot get the location to change...
Any ideas??
Bookmarks