My problem is: in firefox i got no response. in ie it worked fine. I want a ajax call to a local script getting some information in plain text or something else. but it won't work. I think cross scripting should not a problem at this point or?
the javascript code is simple:
var targetUrl = "http://localhost/jQueryProxy.php";
var parameters = ""; // later
$.ajax({
type: "GET",
async: true,
url: targetUrl,
data: parameters,
success: function(param1, param2){
alert(param1);
}
});
and the php code too:
<?php
header('Content-type: text/xml'));
echo "test";
?>