Removes all child nodes from the set of matched elements.
Example:
$("p").empty()
HTML:
<p>Hello, <span>Person</span> <a href="#">and person</a></p>
Result:
[ <p></p> ]
Lean jQuery and AJAX from basic to professional level, by heart! I have setup this blog for those who have great intension and interests in DHTML programming. Basically I will focus here to describe jQuery basic and advance functions and then explain through simple and practical examples (to build AJAX based applications) so that learner can get maximum understanding.
