$( "p")。hide()
すべて要素を隠します。
例:
<head>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script>
$(document).ready(function(){
$("button").click(function(){
$("p").hide();
});
});
</script>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<body>
<h2>제목</h2>
<p>첫 번째 문장.</p>
<p>다른 문장.</p>
<button>클릭</button>
</body>
(Source:w3schools.com)

コメントを残す