http://stackoverflow.com/a/2879467/2177408
Any element or text node is a Node
, which has a parentNode
property. You don't need jQueryfor this but you can turn the parent into a jQuery object:
$(textNode.parentNode)...
http://stackoverflow.com/a/2879467/2177408
Any element or text node is a Node
, which has a parentNode
property. You don't need jQueryfor this but you can turn the parent into a jQuery object:
$(textNode.parentNode)...