Here is the relevant code
function submitForms()
{
document.form1.limit.value = document.form2.amountLimit.value
document.form1.submit()
document.form2.submit()
}
Here first form1 is expected to update limit value in database and 2nd
server is a payment gateway and is expected to take control.
I am trying it using firefox, and will try it with IE today and let u
know my observations.
Not sure whether I got your last question or not, but I guess I am
testing using http specifier. :)
On Jun 22, 12:06 pm, "Skye Shaw!@#$" <skye.s...@gmail.comwrote:
On Jun 21, 8:59 pm, abansal....@gmail.com wrote:
Hi,
I want to submit some data to 2 servers when user clicks a submit
button.
So I tried creating a hidden form and on submit, I called a java
script function which submits the hidden form first and then the other
form.
That should work.
But when hidden form is submitted, then control does not go back
to next submit and so nothing happens on 2nd server.
Post the code you're using. What response do you expect from the 2nd
server?
What browser are you trying it on? Are you testing via the file or
http specifier?