• <b id="l3qpx"><abbr id="l3qpx"></abbr></b>
  • <th id="l3qpx"><progress id="l3qpx"></progress></th>
      <th id="l3qpx"></th>
      <dd id="l3qpx"><font id="l3qpx"></font></dd>
      <th id="l3qpx"></th>
      0712-2888027 189-8648-0214
      微信公眾號

      孝感風(fēng)信網(wǎng)絡(luò)科技有限公司微信公眾號

      當(dāng)前位置:主頁 > 技術(shù)支持 > Javascript/JQuery > JQuery獲取瀏覽器中URL的相關(guān)參數(shù)值代碼

      JQuery獲取瀏覽器中URL的相關(guān)參數(shù)值代碼

      時間:2016-06-30來源:風(fēng)信官網(wǎng) 點擊: 769次
      JQuery獲取瀏覽器中URL的相關(guān)參數(shù)值代碼

      使用方法:getParam($a);

      //獲取URL的相關(guān)參數(shù)值
          function getParam(paramName){
            paramValue ="";
            isFound =false;
            if (this.location.search.indexOf("?") ==0&&this.location.search.indexOf("=")>1){
              arrSource = unescape(this.location.search).substring(1,this.location.search.length).split("&");
              i =0;
              while (i < arrSource.length &&!isFound){
                if (arrSource[i].indexOf("=") >0){
                  if (arrSource[i].split("=")[0].toLowerCase()==paramName.toLowerCase()){
                    paramValue = arrSource[i].split("=")[1];
                    isFound =true;
                  }
                }
              i++;
              }
            }
            return paramValue;
          };
      欄目列表
      推薦內(nèi)容
      熱點內(nèi)容
      展開
      欧美一区二区三区免费A级视频,亚洲精品中文字幕综合,动漫精品中文字幕无码第一页,1024亚洲国产综合 亚太影院 柯西贝尔-游戏赚网
    1. <b id="l3qpx"><abbr id="l3qpx"></abbr></b>
    2. <th id="l3qpx"><progress id="l3qpx"></progress></th>
        <th id="l3qpx"></th>
        <dd id="l3qpx"><font id="l3qpx"></font></dd>
        <th id="l3qpx"></th>