是否可以用jQuery替代cakephp 1.3 ajax?

我正在使用cakephp 1.3。 我想使用CakePHP 1.3 AJAX文档,因此我需要使用 prototype.js 和 scriptaculous.js 进行处理。但是我已经在项目中使用jQuery,并且它与 prototype.js文件冲突。 那么,有什么方法可以代替? 谢谢!

Quoted from the red box at the top of that page:

Both the JavascriptHelper and the AjaxHelper are deprecated, and the JsHelper + HtmlHelper should be used in their place.

Have a look at the documentation for the JsHelper instead.

From the link you provided:

Both the JavascriptHelper and the AjaxHelper are deprecated, and the JsHelper + HtmlHelper should be used in their place. See The Migration Guide

On Js helper page:

Since the beginning CakePHP's support for Javascript has been with Prototype/Scriptaculous. While we still think these are an excellent Javascript library, the community has been asking for support for other libraries. Rather than drop Prototype in favour of another Javascript library. We created an Adapter based helper, and included 3 of the most requested libraries. Prototype/Scriptaculous, Mootools/Mootools-more, and jQuery/jQuery UI. And while the API is not as expansive as the previous AjaxHelper we feel that the adapter based solution allows for a more extensible solution giving developers the power and flexibility they need to address their specific application needs.

echo $this->Html->script('jquery'); // Include jQuery library

And also take a look at the jQuery AJAX pagination example.