I currently have a very simple html form that uses the post method to post data to a specific URL.
The post location specified with the "action" variable is "http://www.test1.com/friends.php
I would now like to submit that same form data also to a second location, during the same submit process.
The url of the second location would be "http://secondlocation.com/family.php
I suspect I can use the "onsubmit" variable, and call a java script that would submit to this second location, before the form itself posts to the main location?
If so, how would such java script look like?
Also, can I call and execute one java script function from within another?
If so, could you tell me how?