获取上一页面传递的参数
2018-03-31 13:17
120 查看
var studentId = getQueryString('studentId'); //获取上页面传达的参数 function getQueryString(str) { var result = window.location.search.match(new RegExp("[\?\&]" + str + "=([^\&]+)", "i")); if (result == null || result.length < 1) { return ""; } return result[1]; }
相关文章推荐
- JS获取上个页面超链接传递的参数
- js 获取url中的参数进行跨页面传递
- js获取页面传递参数(完整版)
- js获取页面get传递的参数
- JS框架 获取页面传递过来的参数
- ASP.NET 页面通过url传递参数,另一页面通过Request.QueryString获取参数为乱码问题
- JS控制静态页面之间传递参数获取参数并应用的简单实例
- javascript获取超链接传递的参数,此方法亦能解决2个通过js超链页面传递参数的乱码问题
- javascript写的关于静态页面获取URL传递参数的函数[原创]
- JS控制静态页面之间传递参数获取参数并应用(window.location)
- thinkphp下通过页面链接传递的参数获取一次后失效
- JS控制静态页面之间传递参数获取参数并应用
- 静态页面网页参数传递,获取
- 备忘录之在jsp页面中获取链接,url,传递的参数
- js前端获取页面传递的参数
- 通过window.location.search获取页面url传递的参数
- javascript写的关于静态页面获取URL传递参数的函数[原创]
- 在jsp页面 JS获取URL传递的参数
- jquery.load()函数 在JSP中局部加载刷新页面时的参数传递及获取
- Javascript获取HTML静态页面参数传递值示例