$(" +p",this) 和 $("p",this)有區別嗎? <h1>introduction</h1>
<p id="pp">it is a test</p>
<script>
$(document).ready(function(){
$("h1+p").hide();
$("h1").hover(function(){
$("+p",this).show()}, function(){
$("+p",this).hide();});
}); </script>
- 2 回答
- 0 關注
- 1226 瀏覽
添加回答
舉報
0/150
提交
取消