随笔分类 -  前端

摘要:http://mobileangularui.com/ http://ionicframework.com/ http://www.idangero.us/framework7/ (中文文档:http://framework7.taobao.org/) http://amazeui.org/ 阅读全文
posted @ 2017-10-20 23:16 苍山雪洱海月 阅读(1047) 评论(0) 推荐(0)
摘要:<script type="text/javascript" language="javascript"> //加入收藏 function AddFavorite(sURL, sTitle) { sURL = encodeURI(sURL); try{ window.external.addFavo 阅读全文
posted @ 2017-10-20 23:08 苍山雪洱海月 阅读(516) 评论(0) 推荐(0)
摘要:1.js如何解析后台传过来的json字符串? 注意:js是无法直接接收和使用json或者Php的数据,用的话会出现undefined,所以要转换一下。 方式一: var str = '{"rows":[{"ID":0,"登录账号":"admin","登录时间":"\/Date(14467729970 阅读全文
posted @ 2017-10-20 22:37 苍山雪洱海月 阅读(54097) 评论(0) 推荐(1)
摘要:1 <script type="text/javascript"> 2 function Navigate() { 3 if(document.referrer == 'http://www.44755.com/game-lists'){ 4 window.location.href = "/gam 阅读全文
posted @ 2017-10-20 22:04 苍山雪洱海月 阅读(1137) 评论(0) 推荐(0)
摘要:如何实现刷新当前页面呢?借助js你将无所不能。 1,reload 方法,该方法强迫浏览器刷新当前页面。语法:location.reload([bForceGet]) 参数: bForceGet, 可选参数, 默认为 false,从客户端缓存里取当前页。true, 则以 GET 方式,从服务端取最新的 阅读全文
posted @ 2017-10-19 21:53 苍山雪洱海月 阅读(1173) 评论(0) 推荐(0)