YOu can use raw-ajax function to get value from server
which uses XML Object
i.e.
function getValueByAjax(url,getxml)
{
var req;
try {
req = new XMLHttpRequest();
} catch(err1) {
try {
req = new ActiveXObject('Msxml2.XMLHTTP');
} catch (err2) {
try {
req = new ActiveXObject("Microsoft.XMLHTTP");
} catch (err3) {
req = false;
}
}
}
req.open("GET", url ,false);
req.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
req.send();
var item ;
if(req.readyState == 4)
{
if(req.status == 200)
{
item = req.responseText;
if(getxml==1)
{
item = req.responseXML;
}
}
}
return item;
}
and do process from server side
and manupulate returned string as you want...