摘要: 1 /** 2 * 获取GET提交的参数 3 * @return JSON格式 4 * @author Terry 5 */ 6 function getArgs(){ 7 var args = {}; 8 var match = null; 9 var search = decodeURIComponent(location.search.substring(1));10 var reg = /(?:([^&]+)=([^&]+))/g;11 while((match = reg.exec(search))!==null){12 ... 阅读全文
posted @ 2014-02-24 15:44 辰阳 阅读(2141) 评论(0) 推荐(0) 编辑