Hi I am new to jQuery.
I have the following HTML block:
<html>
<body>
<p>Paragraph1</p>
<p>Paragraph2</p>
<div id = "mydiv">
<p>Paragraph3</p>
<p>Paragraph4</p>
</div>
</body>
</html>
If I do $(“p”), then this will select every paragraph. But how do I just select all the paragraphs within “mydiv”
thanks!
Or you can do :