摘要:
来几段代码吧,容易看懂点先来php,就这么一句,默认JSON格式,3个参数,thinphp里面把他们分别定义为data 处理完的数据info 一般返回的提示字符串status 状态$this->ajaxReturn($data, $info,$status);再来个个完整的代码演示下,控制器,普通的提示,我不需要返回数据data设为0或空即可<?phpclass AjaxAction extends Action { public function index(){ $this->ajaxReturn($_POST['fen'], '打分成功了! 阅读全文
posted @ 2012-12-10 07:41
wolfone
阅读(183)
评论(0)
推荐(0)
摘要:
JQUERY mouseenter已经很好的解决了这个问题,直接替换就可以了 阅读全文
posted @ 2012-12-10 07:10
wolfone
阅读(250)
评论(0)
推荐(0)

浙公网安备 33010602011771号