Originally posted by Pinda Ros:
Hello,
I have a form on a web page and when the user clicks on the button of the form the action (part of the form) goes to page X and it passes some parameters.
The page X should forward or redirect to another website using the post method passing these parameters as well.
Ahy suggestions?
Thank you in advance.
pinda
With javascript, in the page X:
<form method="post" action="wherever">
<input type="hidden" name="var" value="value" />
</form>
<script>
document.forms[0].submit();
</script>