摘要:
function parseQueryString(url) { var pos; var obj = {}; if ((pos = url.indexOf("?")) != -1) { var param = url.substring(pos+1, url.length - 1) var paramArr = param.split('&'); var keyValue = []; for (var i = 0, l = paramArr.length; i < l; i++) { keyValue = paramArr[i].split( 阅读全文
posted @ 2013-10-11 14:49 人生梦想起飞 阅读(1581) 评论(0) 推荐(0) 编辑