摘要:
<html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <div id="div1"></div> <div class="div2"></div> </body></html><script> var div1=doc 阅读全文
摘要:
var loc_url = window.location + ""; //读取网址 document.write(loc_url); document.write("<br />") var wh = loc_url.indexOf("?"); //根据字符定位 document.write(wh 阅读全文