$ajax->linkToRemote() is deprecated

Published on and tagged with ajax  cakephp  tip

A lot of people still use $ajax->linkToRemote(), but this function is deprecated. That means you should not use this function anymore. Instead use the new function $ajx->link(). A simple example:

$ajax->link('My link', 'controller/action', array('update' => 'id_of_div'));

2 comments baked

© daniel hofstetter. Licensed under a Creative Commons License