二、Ajax技巧 status 操作状态 info 提示信息 data 返回数据 $this->ajaxReturn(返回数据,提示信息,操作状态);
使用例子: 模块:IndexAction.class.php <?php // ajax的使用 class IndexAction extends Action { public function index(){ $this->display(); } public function getAjax(){ //传的值可以是表里面查出来的数据啊。。。。 $this->ajaxReturn('乐杨俊给你Ajax返回的数据信息撒','信息1',1); }