Update content in AJAX with renderPartial

Comparing #2 with #3

Revision #3 was created by Burzum Burzum on Sep 30, 2009, 12:06:47 PM.

Link error

Content

[...]
<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"
[...]