⟩ How to find all the child nodes inside the matched elements (including text nodes), or the content document, if the element is an iframe using jQuery?
The contents( ) method finds all the child nodes inside the matched elements (including text nodes), or the content document, if the element is an iframe.