$.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" ) header('Access-Control-Allow-Origin: *');