亚洲免费乱码视频,日韩 欧美 国产 动漫 一区,97在线观看免费视频播国产,中文字幕亚洲图片

      1. <legend id="ppnor"></legend>

      2. 
        
        <sup id="ppnor"><input id="ppnor"></input></sup>
        <s id="ppnor"></s>

        html標(biāo)簽中的this使用介紹

        字號:


            代碼如下:
            <html>
            <head>
            <script type="text/javascript">
            function showHint(str){
            alert(str) ;
            }
            </script>
            </head>
            <body>
            <input type="text" onkeyup="showHint(this.value)"/> <!--此處,在html標(biāo)簽中的this代表的是此標(biāo)簽-->
            </body>
            </html>
            運行結(jié)果為:當(dāng)通過鍵盤向文本框中輸入字符后,當(dāng)按鍵抬起時(即當(dāng)keyup事件發(fā)生后),會顯示按下的字符。