How to find and replace a text in comments using JQuery [closed]

Yes. Iterate through all nodes (recursively for element nodes) and check if the node’s nodeType property is equal to 8 (COMMENT_NODE)

Leave a Comment