about ajax

2 views
Skip to first unread message

BuringRain

unread,
Feb 17, 2009, 12:01:25 AM2/17/09
to DOMAssistant
I use it as the following:

function loadSelect(page,para,pID){

DOMAssistant.AJAX({

url: page,
method: "get",
params: para,
callback: setOption,
responseType : "XML"
});

}


It's error: DOMAssistant.AJAX is not a function

ifif I use it like this:

DOMAssistant.AJAX.post(page,para,functionName)

but It's return the text format , and I want to get the format of
xml;


chenghong

unread,
Feb 17, 2009, 7:06:47 AM2/17/09
to DOMAssistant
Hi, replace DOMAssistant.AJAX with DOMAssistant.AJAX.ajax.
Reply all
Reply to author
Forward
0 new messages