[jQuery] $.post - post array is empty
Hi,
I stick on a wired ajax problem. The following code works on my local
machine. But when i replace the post url to an other server the _POST
array is empty. I tried different clients, servers and browsers. $.get
(... works fine.
<script type="text/javascript">
<!--
$(document).ready(function(){
$.post('http://127.0.0.1/test2.php',{ aa: 'xxx',bb: 'yyy'});
});
//-->
</script>