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).
Getting data for manipulation with AJAX through drupa
Share this highlighthttp://www.safaribooksonline.com/a/front-end-drupal/36652/