Consider my parent div is parentDiv
and it contains five child divs
<div id="parentDiv">
<div>1</div>
<div>2</div>
<div>3</div>
<div>4</div>
<div>5</div>
</div>
How to empty the child elements parentDiv
using jquery....
EDIT:
What is the diff between empty()
and remove()
? what should i use?