摘要:
1、 window.location.href = "aa.aspx?id=" + id;alert(window.location.search); //这样是弹出所有值,再根据里面看哪个符号。分割下就取到你传递的值的例如 我传递过来的弹出的是"dsajkhh%#id=3"那么我要取3 值var a = window.location.search.split('='); alert(a[1]); //取等于的右边值,a就是 3了 阅读全文
posted @ 2011-12-07 11:12
dm3344
阅读(1852)
评论(0)
推荐(0)
浙公网安备 33010602011771号