Convert HTML tag to lowercase
- by mofle
I working on an intranet project for IE6 (i know...) and I need to output some HTML code from a div.
I use $('#output').text($('#container').html());
But IE6 outputs all the code in uppercase:
<TABLE>
<TR>
<TD>test</TD>
</TR>
</TABLE>
How can I convert HTML tags to lowercase using jQuery?
Would be useful to have a plugin that could recursively go trough the DOM-tree.