Posted by Ian Collins on 01/19/06 04:23
windandwaves wrote:
> With a form, I have two buttons.
>
> One of them says:
> - pay here
>
> The other says
> - pay somewhere else
>
> Now, can I change the location to which the variables from the Form are
> posted, depending on the button that they click? or am I always restricted
> to the location specified in the action (e.g. <form method="post"
> action="mynewpage.php">)
>
Not without a little bit of JavaScript on the page to implement an
onclick handler for the button.
--
Ian Collins.
[Back to original message]
|