hey all in brief, i have an application X that uses another application Y in certain cases.
X in on an apache server, Y is on a tomcat server.
i have a button in html file in Y which calls a js function StopApp(). This function StopApp() calls the script "StopApp.php" which is on X.
so what i did inside StopApp() is sthg like
function StopApp()
{
//USING JQUERY $.ajax
$.ajax({
type: "GET",
url: pathofX + "StopApp.php",
cache: false,
data:"blablabla",
dataType: "xml",
success: function(xml)
{
}
});
}
OK so the thing is "StopApp.php" return xml document, and i would like to get the values of the xml tag inside the success field... but i am not being able to do that... i know it has to do with cross domain coz its 2 different servers, but i don't know how to resolve it... I would appreciate much your help thx a lot:)