location.href.indexOf
来源:互联网 发布:彩票双色球大赢家软件 编辑:程序博客网 时间:2024/06/07 01:33
var a = location.href.indexOf("?"); var otherkey; if(a>0) { otherkey = location.href.substring(a+1,location.href.length); } else { otherkey = ""; }document.write(otherkey);例子: index.html?&time=1508924608998&isAppClient=1005 结果:&time=1508924608998&isAppClient=1005
阅读全文
0 0
- location.href.indexOf
- window.location.reload;刷新\indexOf()定义和用法\window.location.href
- location.href
- location.href
- location.href
- location-href
- location.href
- location.href
- location.href
- window.location.href"、"location.href"
- location.href、parent.location.href、top.location.href、 window.open
- window.location.href parent.location.href top.location.href
- top.location.href windows.location.href
- location.href=location.href的问题
- top.location.href = window.location.href;
- top.location.href、parent.location.href
- location.href 与 location.search
- location.href 与 location.search
- 整理:npm安装太慢,切换镜像方法
- Android中LayoutParams总结
- 浅谈Tarjan算法——(1)
- 解决mysql和可视化工具Navicat与web应用中数据库传输中文乱码问题
- PHP计算时间,统计图表
- location.href.indexOf
- Cocos 中的自动绑定规则
- jQuery笔记速览
- 消除红眼效应及matlab实现
- android本地广播的使用
- 文件下载header设置
- Cmake 自学笔记(linux)(一)
- SQL SERVER2008判断存储过程,函数存在则删除
- div相对屏幕定位, 并垂直居中