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

App下載
首頁javascriptclassjQuery Selector - 如何選擇具有類的元素,除了具有特定ID的元素

jQuery Selector - 如何選擇具有類的元素,除了具有特定ID的元素

我們想知道如何選擇具有類的元素,除了具有特定ID的元素。

<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
  src='http://code.jquery.com/jquery-1.6.3.js'></script>
<style type='text/css'>
div {
  border: 1px solid red;
}
</style>
<script type='text/javascript'>
$(window).load(function(){
    $('.ui-widget-content').not('#helpDialog').css('border','none');
});
</script>
</head>
<body>
  <div class="ui-widget-content">test1</div>
  <div class="ui-widget-content" id="helpDialog">test2</div>
</body>
</html>