<div class="codetitle"> <span><a style="CURSOR: pointer" data="85479" class="copybut" id="copybut85479" onclick="doCopy('code85479')"><u>複製程式碼</u></a></span> 程式碼如下:</div> <div class="codebody" id="code85479"> <br>function GetQueryString(name){🎜> new RegExp("(^|&)" name "=([^&]*)(&|$)"); <br>var r = window.location.search.substr(1).match(reg); <br>if(r!=null)return unescape(r[2]); return null; <br>} <br>var myurl=GetQueryString("power"); <br><br>//這個就是取得網址列名為power的值<br><strong><br></strong> </div>