国产chinesehdxxxx野外,国产av无码专区亚洲av琪琪,播放男人添女人下边视频,成人国产精品一区二区免费看,chinese丰满人妻videos

App下載
首頁javascriptattributejQuery Selector - 如何選擇具有指定屬性的元素

jQuery Selector - 如何選擇具有指定屬性的元素

我們想知道如何選擇具有指定屬性的元素。


<html>
  <head>
    <script type="text/javascript" src='http://code.jquery.com/jquery-1.5.2.js'></script>
    <script type="text/javascript">
        $(document).ready(function(){
            $("input[name='ab']").val("ab");
        });
    </script>
  </head>
  <body>
      <input name="ab" />
  </body>
</html>