Reputation: 6029
I need to remove all items from a list that is inside a div using jQuery
The problem is that the ul has no class or id but the div has an id.
<div id="myDiv">
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
</ul>
</div>
Upvotes: 1
Views: 5157