<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # 檢查用戶姓名唯一功能 ~~~ <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script type="text/javascript"> //這兩個姓名已經注冊過了 var names=["李欣","郭超男"]; function checkName(obj) { //alert("用戶姓名輸入框失去了焦點"); console.log(obj); var nameValue=obj.value; console.log(nameValue); var path=""; // var names=["李欣","郭超男"]; for(var na in names) { //李三 if(nameValue==names[na]) { //這個用戶已經存在 console.log("有"); path="./img/task_failed.png"; break;//終止循環 ,余下的代碼會執行 //return;//終止循環 ,余下的代碼不會執行,從這個點就開始返回 } else{ //這個用戶不存在 console.log("沒有"); path="./img/OkDone_80.contrast-white.png"; } } var sObj=document.getElementById("imgMsg"); console.log(path); //<img src=''> sObj.innerHTML="<img src='"+path+"' style='height:10px;width:10px;'>"; } </script> </head> <body> <input type="text" autofocus placeholder="請輸入注冊的用戶姓名[唯一]" onblur="checkName(this)" /><span id="imgMsg"></span> <p> <input type="password" placeholder="請輸入注冊的用戶密碼" /> </body> </html> ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看