I have been fiddling with the replacing content in the html with
jQuery, and I'm loving it. Stuff degrades nicely. We use a content
editor at work that generates tags with upper case letters, and that
doesn't XHTML validate, so I'd like to temporarily replace them with
lowercase tags with javascript and preferably simple jQuery code. Is
this possible? I couldn't get it to work. It shouldn't strip away the
content of course, as this could be either P or STRONG. I thought I
could take the content and put it into a var, change the tags to
lowercase and insert the content back, but couldn't get it to work.
Help appreciated. We'll get the upper case thing fixed eventually, but
it's a temporary piece of mind thing for me :)