I'd suggest two things.
First, use Firebug to view exactly what's being sent over HTTP, to where. That might give you an idea of what, if anything, is happening on the server.
Second, what you're trying to do seems to be a convoluted way of mocking up an AJAX call; you'd be better off, it looks from here, dropping everything into AJAX. Since you've asked this in the
javascript frameworks forum, here's how you might do it with one common JS framework, jQuery:
Code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.js"></script>
<script type="text/javascript">
var data = {
animal:"dog",
mineral:"salt",
vegetable:"jordan"
};
$(document).ready(function(){
$('#myform').submit(function(){
$.get('http://www.site.com/script1.php', data, function(rv){
console.log('Script 1 response:' + rv);
});
$.get('http://www.site.com/script2.php', data, function(rv){
console.log('Script 2 response:' + rv);
});
return false;
});
});
</script>