2006年12月11日
摘要: 如果在一个页面引用一个JS文件 要在 test.js 获取所带的 1 和 doll.net需在js里写如下函数 function tes(paramName) { var reg = new RegExp("(^|\\?|&)"+ paramName+"=([^&]*)(\\s|&|$)", "i"); if (reg.test(test.src)) //test为s... 阅读全文
posted @ 2006-12-11 11:25 空空儿 阅读(1787) 评论(2) 推荐(0) 编辑