for example:
output:
<p></p>
World
<p></p>
Execution of $("P").Empty () is the result of :
output:
World
Summary:
Jquery empty() function is clear element text, but remove() function will delete all, include element itself.
Hello, my name is Janwang. I'm a 25 years old programmer from China.
Learn More →
No comments:
Post a Comment
Note: only a member of this blog may post a comment.