2014年1月13日

ThinPHP第二十七天(kindEditor使用,$.each)

摘要: 1、KindEditor简单使用实例 使用ThinkPHP自带上传类,upload方法需返回 json_encode(array('error'=>0,'url'=>$info[0]['savepath'].$info[0]['savename']));$info为上传文件信息数组2、jQuery使用异步传输回json数据,遍历方法用$.each(data,function(k,v){code...});$.post(getChooseUrl,{cid:cateID},function(data){//data为[{& 阅读全文

posted @ 2014-01-13 01:14 huilange 阅读(321) 评论(0) 推荐(0) 编辑

导航