Update content in AJAX with renderPartial

Comparing #9 with #10

Revision #10 was created by hairylunch hairylunch on Jul 10, 2012, 5:23:27 PM.

correcting method name from partialRender to renderPartial

Title

Update content in AJAX with partialRenderrenderPartial

Content

The easiest way to update content in AJAX is to use the partialRenderrenderPartial method.

For this exemple I have three files: a controller (HelloWorldController.php) and two views (index.php and _ajaxContent.php)

<br />
#### controllers/HelloWorldController.php
[...]