国产gaysexchina男同gay,japanrcep老熟妇乱子伦视频,吃奶呻吟打开双腿做受动态图,成人色网站,国产av一区二区三区最新精品

App下載
首頁javascriptclassjQuery Style - 如何獲取邊框值...

jQuery Style - 如何獲取邊框值...

我們想知道如何獲取邊框值。...

<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
  src='http://code.jquery.com/jquery-1.8.3.js'></script>
<style type='text/css'>
#item {
  border: 3px solid white;
}

#item.active {
  border-color: #A8402A;
}
</style>
<script type='text/javascript'>
$(window).load(function(){
    $('#item').click(function() {
        $(this).toggleClass('active');
    });
});
</script>
</head>
<body>
  <div id="item">Hello</div>
</body>
</html>