Changeset 10584
- Timestamp:
- 08/01/08 17:27:43 (4 months ago)
- Files:
-
- doc/branches/1.1/book/11-Ajax-Integration.txt (modified) (1 diff)
- doc/branches/1.2/book/11-Ajax-Integration.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
doc/branches/1.1/book/11-Ajax-Integration.txt
r9904 r10584 619 619 ") ?> 620 620 621 The `complete` callback has access the ajax respo mse and can pass it to a third-party function. This custom `updateJSON()` function iterates over the JSON obtained from the response via `responseJSON` and for each member of the array, updates the element named by the first parameter with the content of the second parameter.621 The `complete` callback has access the ajax response and can pass it to a third-party function. This custom `updateJSON()` function iterates over the JSON obtained from the response via `responseJSON` and for each member of the array, updates the element named by the first parameter with the content of the second parameter. 622 622 623 623 Listing 11-29 shows how the `publishing/refresh` action can return a JSON response. doc/branches/1.2/book/11-Ajax-Integration.txt
r9904 r10584 619 619 ") ?> 620 620 621 The `complete` callback has access the ajax respo mse and can pass it to a third-party function. This custom `updateJSON()` function iterates over the JSON obtained from the response via `responseJSON` and for each member of the array, updates the element named by the first parameter with the content of the second parameter.621 The `complete` callback has access the ajax response and can pass it to a third-party function. This custom `updateJSON()` function iterates over the JSON obtained from the response via `responseJSON` and for each member of the array, updates the element named by the first parameter with the content of the second parameter. 622 622 623 623 Listing 11-29 shows how the `publishing/refresh` action can return a JSON response.