O'Reilly logo
  • Angela Saval thinks this is interesting:

While loading plain HTML is sometimes very useful and simplifies matters greatly on the client side, having the data available in a structured format is equally useful. The jQuery.getJSON() method allows you to retrieve data in the JSON format and then operate on that data. This function cannot be applied to a set of elements in the same way as the .load() function; rather, it is a stand-alone function in the jQuery namespace (which is accessed by the $ shortcut by default).


Cover of Front End Drupal: Designing, Theming, Scripting


Getting data for manipulation with AJAX through drupa