Monday, July 12, 2010

Ajax request in Prototype

Here is the code for making ajax request in prototype.



new Ajax.Request(urlToAccess, {
method: 'get',
onSuccess: function(transport) {


},
onFailure: function(transport) {


}
});

No comments:

Post a Comment