上一页 1 ··· 6 7 8 9 10
摘要: window.onload=function(){ // var oto1=document.getElementById('div1'); // var oto2=oto1.getElementsByTagName('li'); var oto3=document.getElementById(' 阅读全文
posted @ 2017-03-11 16:07 xfcao 阅读(179) 评论(0) 推荐(0) 编辑
摘要: var reg = /^0?1[3|4|5|8][0-9]\d{8}$/; if (!reg.test($scope.loginfo.userinfo)) { $rootScope.showAlert("请输入有效的手机号!"); return; } var list1 = [], list2 =  阅读全文
posted @ 2017-03-10 19:33 xfcao 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 我们来看一下控制台中输出的结果: 这里可以看出两点不同: 1.$(function(){})不会被覆盖,而window.onload会被覆盖,个人感觉$(function(){})不会被覆盖的原因是将其放入到了一个队列中,在对应时机一次出队。 2. $(function(){})在window.on 阅读全文
posted @ 2017-03-07 14:04 xfcao 阅读(32603) 评论(0) 推荐(6) 编辑
摘要: <input type="radio" name="radioname" value="" />全部 <input type="radio" name="radioname" value="Y" />是 <input type="radio" name="radioname" value=" 阅读全文
posted @ 2017-03-04 16:37 xfcao 阅读(22958) 评论(0) 推荐(2) 编辑
摘要: template.helper('changeTime',function getLocalTime(nS) { var b=nS.substr(6,13); var c=parseInt(b) var d = new Date(c); return d.Format('yyyy-MM-dd hh: 阅读全文
posted @ 2017-02-25 16:46 xfcao 阅读(995) 评论(0) 推荐(0) 编辑
摘要: <img width="64" height="64" src="img/timg.jpg" style="border-radius:10px;margin-top:20px;border:1px solid rgba(255,255,255,.3)" id="imgUp" ng-click="o 阅读全文
posted @ 2017-02-24 13:36 xfcao 阅读(488) 评论(0) 推荐(0) 编辑
摘要: 相机拍摄和本地相册选择照片 阅读全文
posted @ 2017-02-24 13:34 xfcao 阅读(677) 评论(0) 推荐(0) 编辑
摘要: var sessionData = new Array();var setSessionData=function(key,val){ if(sessionStorage){ sessionStorage.setItem(key, JSON.stringify(val)); } else{ sess 阅读全文
posted @ 2017-02-16 18:00 xfcao 阅读(306) 评论(0) 推荐(0) 编辑
摘要: var host = location.hostname;var bas_url = "http://192.168.2.242:6063/";var bas_url = "http://" + host + ":6063/";var svr_url = bas_url + "RSTinyWebSe 阅读全文
posted @ 2017-02-16 17:59 xfcao 阅读(191) 评论(0) 推荐(0) 编辑
摘要: <div class="modal fade" id="updateModal" tabindex="-1" role="dialog" style="margin-top: 50px;"> <div class="modal-dialog" role="document" style="width 阅读全文
posted @ 2017-02-16 17:49 xfcao 阅读(586) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10