Dealing with text nodes in JQuery
23 Dec 2014How to know if the element is a text node or not
The below method will help you to check if the given element is a text node or not.
How to get all the text nodes in a particular element.
The below piece of code can help you in getting all the text nodes in a element identified by the selector.