javascript中的window.location.search方法简介
来源:互联网 发布:怎么登陆淘宝卖家中心 编辑:程序博客网 时间:2024/05/02 04:27
javascript中的window.location.search方法简介
作者: 字体:[增加 减小] 类型:转载 时间:2013-09-02 我要评论
window.location.search方法是截取当前url中“?”后面的字符串,示例如下,感兴趣的朋友可以参考下
<iframe id="iframeu2261530_0" src="http://pos.baidu.com/acom?sz=680x200&rdid=2261530&dc=2&di=u2261530&dri=0&dis=0&dai=2&ps=403x48&coa=at%3D3%26rsi0%3D680%26rsi1%3D200%26pat%3D6%26tn%3DbaiduCustNativeAD%26rss1%3D%2523FFFFFF%26conBW%3D1%26adp%3D1%26ptt%3D0%26titFF%3D%2525E5%2525BE%2525AE%2525E8%2525BD%2525AF%2525E9%25259B%252585%2525E9%2525BB%252591%26titFS%3D14%26rss2%3D%2523000000%26titSU%3D0%26ptbg%3D90%26piw%3D0%26pih%3D0%26ptp%3D0&dcb=BAIDU_UNION_define&dtm=BAIDU_DUP_SETJSONADSLOT&dvi=0.0&dci=-1&dpt=none&tsr=0&tpr=1453718008115&ti=javascript%E4%B8%AD%E7%9A%84window.location.search%E6%96%B9%E6%B3%95%E7%AE%80%E4%BB%8B_javascript%E6%8A%80%E5%B7%A7_%E8%84%9A%E6%9C%AC%E4%B9%8B%E5%AE%B6&ari=1&dbv=2&drs=1&pcs=1086x581&pss=1086x409&cfv=0&cpl=4&chi=1&cce=true&cec=GBK&tlm=1451313080&ltu=http%3A%2F%2Fwww.jb51.net%2Farticle%2F41064.htm&ltr=https%3A%2F%2Fwww.baidu.com%2Flink%3Furl%3D2iH6AVZgsXuguRTxWgWLWSMyV57R9lZkFGJUYzFsaQ6PIdzcSBANVAVovYZ7qVnx%26wd%3D%26eqid%3Df30a4359000114d10000000556a5f9a2&ecd=1&psr=1366x768&par=1366x728&pis=-1x-1&ccd=24&cja=false&cmi=6&col=zh-CN&cdo=-1&tcn=1453718008&qn=a837ba855f380e9b&tt=1453718008097.94.432.433" width="680" height="200" align="center,center" vspace="0" hspace="0" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" allowtransparency="true" style="display: block; border-width: 0px; border-style: initial; vertical-align: bottom; margin: 0px;"></iframe>
window.location.search方法是截取当前url中“?”后面的字符串,
例如:index.php?act=doctor,截取后的字符串就是act=doctor
0 0
- javascript中的window.location.search方法简介
- javascript中的window.location.search方法
- javascript中的window.location.search和match
- javascript中的window.location和document.location
- javascript的window.location方法
- javascript的window.location方法
- js 中的window.location.search.match("XX")
- window.location.search.substr(1)方法
- window.location.search是什么意思
- window.location.search是什么意思
- window.location.search用法
- window.location.search
- 初识window.location.search
- window.location.search
- JavaScript获取从上个页面传过来的url参数:GetQueryString()方法和window.location.search方法
- window.location.Search的用法
- window.location.search的用法
- window.location.search的用法
- Miller-Rabin 素数测试
- maven打war包以及maven工程调用别人生成的jar包
- CHtmlView 处理/禁止 JavaScript 脚本错误!
- 高级并发学习之Samphere同步工具学习
- 怎么使用 JavaScript 将网站后台的数据变化实时更新到前端?
- javascript中的window.location.search方法简介
- 利用HttpURLConnection发送post请求上传多个文件
- LeetCode 3Sum Closest
- UI线程阻塞监控工具----BlockCanary
- 虚拟机
- Xen概述
- ExtJs中的事件机制
- 安卓初学二之控件初步(一)
- 游戏任务系统设计思路