How to send data to remote server using Javascript
One of the most common ways to do this is AJAX. Here’s how you perform an AJAX post request using jQuery: <script type=”text/javascript”> $.post(‘/remote-url’, {xml: yourXMLString }); </script> On the server side you process it like any other POST request. If you’re using PHP it’s $xml = $_POST[‘xml’]; The biggest limitation of AJAX is that … Read more