Possible Duplicate:
Access Control Allow Origin not allowed by
Origin is not allowed by Access-Control-Allow-Origin
I used this code to call a vaadin application from PHP page:
$.get(
"http://192.168.10.106:8080/FTTBManager/?restartApplication",
{ activate: "1", username: "Ahmed1.Hiwa@gold" },
function(result) {
alert ("Result Was : " +result);
$('#divout').html(result);
},
"text"
)
but I get the following error:
Origin localhost is not allowed by Access-Control-Allow-Origin.