hello all,
is there a way to redirect POST data to another page without having to hit a submit button?
So, in other words, a form is submitted to one script, that script executes and then redirects the data to another url?
Thanks,
Styrmstread
redirecting POST data
Moderator: General Moderators
-
styrmstread
- Forum Newbie
- Posts: 4
- Joined: Mon Sep 29, 2003 11:09 am
-
Cruzado_Mainfrm
- Forum Contributor
- Posts: 346
- Joined: Sun Jun 15, 2003 11:22 pm
- Location: Miami, FL
i think you can send the form with the post vars like this:
I think that's the code, be sure to change forms[X] where X is the number of the form in order from top to bottom.
to use it,: onEvent = "javascript: submitform();"
Code: Select all
<script language="Javascript">
function submitform() {
document.formsї0].submit();
}
</script>to use it,: onEvent = "javascript: submitform();"