科学网

 找回密码
  注册
单点登录系统很好的网站
孙鹏 2016-10-20 13:51
https://oauth.net/code/ 加我私人微信,交流技术。
个人分类: js|2146 次阅读|没有评论
html5手机开发cookie的用法总结
孙鹏 2015-3-13 15:44
首先,如果不跨域,发送Ajax请求,例如: $( #btn_login ).on( click, function( event ) { $.ajax({ type: POST, url: serverURL + '/user',   ...
个人分类: js|18123 次阅读|没有评论
jquery请不要使用location.href方式跳转
孙鹏 2015-3-7 19:57
//location.href = login.html;//请不要使用这种跳转,会出现返回页面不能刷新 $.mobile.changePage(login.html, { transition: fade}); 原因还不知道 加我私人微信,交流技术。
个人分类: js|6581 次阅读|没有评论
如何用jquery获取当前页面url传入的参数
孙鹏 2015-3-3 18:23
参考: http://www.designchemical.com/blog/index.php/jquery/8-useful-jquery-snippets-for-urls-querystrings/ http://stackoverflow.com/questions/406192/get-current-url-in-javascript/4673540#4673540 这里把代码摘录一下: var vars = ; if(q != undefined){ ...
个人分类: js|14302 次阅读|没有评论
使用jquerymobile时,如何让data-rel="back" 返回时不再刷新页面
孙鹏 2015-2-18 16:03
先说结论: $(document).on('ready', function(){ //这里是你的事件 }); 下面我们来分析一下,首先看一下page的事件顺序,可参考: http://www.gajotres.net/page-events-order-in-jquery-mobile-version-1-4-update/ http://www.gajotres.net/page-events-order-in-jquery-mobile/ 这里做个 ...
个人分类: js|15416 次阅读|没有评论

本页有 1 篇博文因作者的隐私设置或未通过审核而隐藏

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-26 16:30

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部