How can I realize old version AJax function?

5 views
Skip to first unread message

wangsuya

unread,
Dec 3, 2008, 2:53:12 AM12/3/08
to mootree
Hello everyone

I try to Ajax by mooTree which was made by mootools1.2.1
and I try to find Ajax in document I did not find. How Can I
realize bellow:

var myjson = new Object();

var b = new String;
var c = new String;
b = '111';
c = 'hikisu';
myjson[c] = b;
var url = "test.php";
var myajax = new Ajax(url,
{method:'post',postBody:Object.toQuerySt
ring(myjson),onComplete:function(mystring){
alert(mystring);
}}).request();


I want to send data to test.php and receive data from test.php.
Old version quite worked,
how to do this in new version?

Thanks by advance.

Wang Suya
Reply all
Reply to author
Forward
0 new messages