wangsuya
unread,Dec 3, 2008, 2:53:12 AM12/3/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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