jQuery 获取URL参数的插件
jQuery Url Query String
下载地址:http://plugins.jquery.com/getUrlQueryString.js/
var url="www.abc.com/index.html?key=hello"; var $arrUrl = $.getUrlQueryString(url); var key=$arrUrl["key"];
var url="www.abc.com/index.html?key=hello"; var $arrUrl = $.getUrlQueryString(url); var key=$arrUrl["key"];