2016年4月29日
摘要: js:var str="{aaa}123{aaa}";str.replace(/\{aaa\}/g, "111"); 阅读全文
posted @ 2016-04-29 11:45 qinyahui 阅读(628) 评论(0) 推荐(0) 编辑
  2016年4月27日
摘要: 1.angular-kindeditor.js 第38行左右加editorConfig.items = ["placehoder"];2.en.js 第234行 placeholder : 'placeholder'3./placeholder/placehoder.js KindEditor.pl 阅读全文
posted @ 2016-04-27 14:25 qinyahui 阅读(577) 评论(0) 推荐(0) 编辑
  2016年4月25日
摘要: http://www.ituring.com.cn/article/203546 阅读全文
posted @ 2016-04-25 11:03 qinyahui 阅读(86) 评论(0) 推荐(0) 编辑
  2016年4月22日
摘要: angularjs kindEditor 中content获得不到值需要修改下angular-kindeditor.js angular-kindeditor.jsif (KindEditor) { var editor = KindEditor.create(editorId, editorCon 阅读全文
posted @ 2016-04-22 10:21 qinyahui 阅读(442) 评论(0) 推荐(0) 编辑
  2016年4月20日
摘要: 参考地址:http://okashii.lofter.com/post/1cba87e8_29e0fab 引入angular-sanitize.js文件 注入ngSanitize 页面数据绑定 ng-bind-html = "vm.topicDetail.udHelpTopicContent" 阅读全文
posted @ 2016-04-20 19:01 qinyahui 阅读(262) 评论(0) 推荐(0) 编辑
  2016年4月15日
摘要: 1.js:根据地址得到经纬度var myplace=$scope.place;//获取输入的地址var geocoder = new google.maps.Geocoder();//创建geocoder服务//调用geocoder服务完成转换geocoder.geocode( { 'address 阅读全文
posted @ 2016-04-15 11:00 qinyahui 阅读(351) 评论(0) 推荐(0) 编辑
摘要: jsp <td title="'Status'" filter="{status: 'select'}" filter-data="fn.status($column)" sortable="'status'">{{promotion.status==0?'Disabled':'Active'}}< 阅读全文
posted @ 2016-04-15 10:40 qinyahui 阅读(385) 评论(0) 推荐(0) 编辑
摘要: jsNiDialog.open({ windowClass: '', size:'elements', backdrop: 'static', keyboard: false, templateUrl: '/static/tpl/admin/dialogs/addElements.tpl', con 阅读全文
posted @ 2016-04-15 10:33 qinyahui 阅读(532) 评论(0) 推荐(0) 编辑
摘要: js 阅读全文
posted @ 2016-04-15 10:28 qinyahui 阅读(683) 评论(0) 推荐(0) 编辑
  2016年4月11日
摘要: $.trim(" abc "); jQuery.trim(" abc "); 阅读全文
posted @ 2016-04-11 18:09 qinyahui 阅读(955) 评论(0) 推荐(0) 编辑