Removes all child nodes (including text nodes) from all paragraphs
Edit code and click me
Your Result
(Some examples do not work in Google Chrome):
Hello,
Person
and person
Call empty() on above paragraph
Edit the code above and click to see the result
www.xhtml.co.il
- Try it yourself