javascript取url参数的几种方法
摘要:
//获取QueryString的数组function getQueryString() { var result = location.search.match(new RegExp("[\?\&][^\?\&]+=[^\?\&]+", "g")); if (result == null) { return ""; } for (var i = 0; i = queryStringList.length) { return ""; } var result = queryStringList 阅读全文
posted @ 2014-03-19 15:39 靖儿 阅读(346) 评论(0) 推荐(0) 编辑