mrpanda
02-13-2009, 03:14 AM
server code:
Client.prototype.updatePlaylist = function(){
var list_xml = new XML();
list_xml.onLoad = function(success){
if(success){
//return list_xml;
}
};
list_xml.load("http://localhost:8088/html/xml/dir_list.php");*/
//return list_xml;
}
client code:
nc.call("updatePlaylist", ro);
how to return list_xml from server to client???
Client.prototype.updatePlaylist = function(){
var list_xml = new XML();
list_xml.onLoad = function(success){
if(success){
//return list_xml;
}
};
list_xml.load("http://localhost:8088/html/xml/dir_list.php");*/
//return list_xml;
}
client code:
nc.call("updatePlaylist", ro);
how to return list_xml from server to client???