I have a Form in an HTML page like below that is sending my data to a page at http://www.aaaaaa.com/1st-file.php
...
<form action="http://www.aaaaaa.com/1st-file.php" method="post" enctype="plain" id="theForm">
<input type="text" name="NAME" value="Some Data" />
<input type="submit" value="Send Data" />
</form>
But I want to send the same data on http://www.bbbbbb.com/2nd-file.php
. My form is on HTML page and I want to send data via one click on Send Data
only. So is this possible to send data on both PHP pages using pure JavaScript not JQuery? If yes then how?
Update:
My both PHP receiving files have codes something like below...
<?php
$data_from_site= $_POST['NAME'];
echo $data_from_site;
?>