json services mootools

Events happening in the community are now at Drupal community events on www.drupal.org.
yajnin's picture

JavaScript and Services: JSON Server + JSON + JSONP // + MooTools // Discussions

UPDATE

This thread expanded into general discussions with JavaScript and Services. There are couple MooToolers here so many examples are MT oriented. However, the principals would carry to jQuery et al.

This thread will be maintained every couple months.

Original Post

////// JSON Server + MooTools Request.JSON

var jsonRequest = new Request.JSON({

url: "http://yourdomain.com/services/json",

onSuccess: function(response){

var myDataArray = response['#data'];
// Manipulate data as necessary

}

}).send({ 'data': {

Read more
Subscribe with RSS Syndicate content