I have this simple function to find "unwrapped" text and wrap it into a div.
It is working fine apart from IE < 9. What can I change here to make it working please.
$('#categories_list') .contents() .filter(function() { return this.nodeType == Node.TEXT_NODE; }).wrap("");
Many thanks in advance.
Dom