JQuery .hide()

1 개요[ | ]

jQuery .hide()
<style>
.box1 {
  width: 150px; height: 150px;
  background: red;
}
</style>

<button id='btn-hide-box1'>박스 숨김</button>
<div class='box1'></div>

<script src="//code.jquery.com/jquery.min.js"></script>
<script>
$(function() {
  $("#btn-hide-box1").click(function() {
    $(".box1").hide();
  });
});
</script>

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}