JS。几种跳转页面方式。
来源:互联网 发布:三思网络 编辑:程序博客网 时间:2024/05/06 11:24
CSDN 改版的编辑器很不错~~赞~~
window.open(ul);//这是跳出新的窗口
// window.location.href=ul;//这是直接在当前页跳转
http://hi.baidu.com/maisui99/blog/item/a12d15d8ce32852110df9b89.html
1. href。
2. window.open()
3. window.navigate() 此方法不支持FF。
4. location.href
另:http://www.zhuoda.org/lunzi/66097.html
5. window.he
传参的话,需要接收页面解码。
function getparastr(strname) { var hrefstr,pos,parastr,para,tempstr; hrefstr = window.location.href; pos = hrefstr.indexOf("?") parastr = hrefstr.substring(pos+1); para = parastr.split("&"); tempstr=""; for(i=0;i<para.length;i++) { tempstr = para[i]; pos = tempstr.indexOf("="); if(tempstr.substring(0,pos) == strname) { return tempstr.substring(pos+1); } } return null; }
- js 跳转页面返回几种方式
- JS。几种跳转页面方式。
- js页面跳转的几种方式
- js页面跳转的几种方式
- js跳转页面的几种方式
- JS跳转页面的几种方式
- JS跳转页面的几种方式
- JS跳转页面的几种方式
- js实现几秒页面跳转的几种方式
- js实现页面跳转的几种方式普通方式
- js实现页面跳转的几种方式
- js实现页面跳转的几种方式
- js实现页面跳转的几种方式
- js实现页面跳转的几种方式
- js实现页面跳转的几种方式
- js实现页面跳转的几种方式
- js实现页面跳转的几种方式
- js实现页面跳转的几种方式
- Linux下安装jdk1.6详解
- hbase之 ZKConfig
- 2.2变量及变量的作用域
- http://msdn.microsoft.com/zh-cn/library/aa702636.aspx#BKMK_q4
- 什么是J2EE!
- JS。几种跳转页面方式。
- file_get_contents、cur、fsockopen
- ASP连接数据库
- DataSet DataTable DataReader dataAdapter区别
- mfc 图像处理 图像缩小
- php 调用webservice
- 关于Gearman的两点发现
- Service如何关闭启动自己的Activity
- ArcGIS Explorer 9.3 二次开发---开发程序2