javascript在纯html中获取url传来的参数 比如 http://sdsdsd.com/a.jsp?ddd=sdsd你只要在页面中var s = window.location.search;s.split("=");alert(s[1]); 相关文章: