Difference between #2 and #3 of
Update content in AJAX with renderPartial

Revision #3 has been created by Burzum on Sep 30, 2009, 12:06:47 PM with the memo:

Link error
« previous (#2) next (#4) »

Changes

Title unchanged

Update content in AJAX with partialRender

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

Content changed

[...]
<div id="data">
<?php $this->renderPartial('_ajaxContent', array('myValue'=>$myValue)); ?>
</div>

<?php echo CHtml::ajaxButton ("Update data",
CController::createUrl('hello
World/UpdateAjax'),
array('update' => '#data'));
?>
```

The ajaxButton call "actionUpdateAjax" and the returned data are inserted in the div "data"
[...]
43 0
46 followers
Viewed: 353 347 times
Version: 1.1
Category: Tutorials
Tags: AJAX
Written by: Burzum
Last updated by: hairylunch
Created on: Sep 30, 2009
Last updated: 11 years ago
Update Article

Revisions

View all history