有人能帮我解决这个问题吗?以下是HTML代码:
<h3>
<label>
<input type="checkbox" name="country" value="us" /> United States
</label>
</h3>
<p>Some content goes here</p>
我希望能够通过点击
标签来切换
元素,但如果我点击
$('h3').click(function() {
// Does something goes here?
$(this).next('p').toggle();
}