获取多个checkbox的值,并用逗号隔开varS1="";//初始化varyp=****.getElementsByName("yp");for(vari=0;i 阅读全文>>
window.location用法一://获取域名host=window.location.host;host2=document.domain;//获取页面完整地址url=window.location.href;document.write("host="+host)document.write("host2="+host2)document.write("ur… 阅读全文>>