I'm start using cakephp and i made a demo app using AjaxHelper
$ajax->link('title', 'url', array('update' => 'mydiv'))
Now i want to migrate that to cakephp 1.3 and AjaxHelper is deprecated on cake 1.3 and will be removed, so i want to accomplish the same with JsHelper which is replacing the functionality of AjaxHelper and JavascriptHelper I just can't find how to do that.
I want to upgrade the versions to use jQuery out of the box with cakephp 1.3 and get rid of Prototype javascript li开发者_如何学Gobrary. so, any help ?
I've already read the migration guide and nothing found yet.
Use $js->link('title', 'url', array('update'=>'mydiv'))
Don't forget to $js->writeBuffer() in the view.
Take a look at manual here.
加载中,请稍侯......
精彩评论