Making a request with Mootools
0March 17, 2009 at 5:18 pm Filed in:Javascript | Programming languages
Making a request with mootools is as easier as next lines are:
function doRequest(){
var data = "param1=1¶m2=2";
new Request({
url:'pagetorequest.java',
method:'post',
onSuccess: doOnSucess
}).send(data);
}
function doOnSucess(response){
alert("I am happy, and you?");
alert("the response is:" + response);
}
I am Victor Santafé, a 26 years old guy currently living and working in Colombia. I am a System Engineer, I love my profession, I love everything about Software Engineering and Programming Languages, I love music, photography and everything related to arts.