Hey Hii ....
I am solving this problem from last 2 days....
but unable to find solution.
What i am doing is .....
On click of submit button i want to send email and i am taking client to paypal page to do the payment.....
i. e. i want to send FORM data to two different pages.
function submit_form(form)
{
document.form.action = 'xyz.com/order/email_order.php';
document.form.submit();
document.form.action = 'https://www.paypal.com/cgi-bin/webscr';
document.form.submit();
}
<input type="button" name="pay" value="Submit Order" onClick="submit_form(this.form)">
Its working fine in Mozilla but not in other browsers.....
Or Is there any other solution??
....i dont want 2 submit button.