Re: How to submit a form to multiple web sites?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: How to submit a form to multiple web sites?

From: <@sh>
Date: Tue Dec 20 2005 - 15:33:55 CET

As far as I'm aware - a client side form post can only submit to a single
form, the result of that form could then post again, but you cannot post two
simultaneously.

Another way to do this would perhaps be using frames with the two frames in
their own frame...or an even better idea is to use IFrames for each form?

I'm sure the experts here will confirm or amend what I've said ;o)

Cheers!

<ningjun.wang@lexisnexis.com> wrote in message
news:1135087594.651903.142250@g44g2000cwa.googlegroups.com...
> How can I submit a form to multiple web sites when user click the
> submit button? Something like the following:
>
> myform.action = url_of_server1;
> myform.submit();
> myform.action = url_of_server2;
> myform.submit();
>
> The above code only submit form to url_of_server1. The second submit is
> ignored. Is there any trick to make it works? For example is it
> possible to use XMLHttpRequest object to submit the form
> asynchronously?
>
Received on Fri Dec 23 20:26:58 2005