I have a page that called redirect.php, this page has several attributes that I want to send them to another page, actually I write this code :
<script type="text/javascript">
$.ajax({
url: "http://www.mysite.com/getdata.php",
context: document.body,
success: function(data) {
$('body').append(data);
}
});
</script>
But it does not work in firefox, in firefox not happens anything but in IE it worked.
when I write exact name of page for example url: "getdata.php" it work perfectly but with absolute address is not :( Why it doesn't work in firefix? any idea?
thanks for your help ...
http://mysite.com/in Firefox (nowww)?