That's true. Thanks for reminding me. Gonna have to stick to fixing it in our own setup then.
On Jan 3, 8:20 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hi there, > > As far as I know, any attempt to solve the XHTML validation issue with > JavaScript is going to fail, because validation checkers look at the > original source HTML before it has been modified by JavaScript. I > realize that doesn't answer your question about changing the case of > tag names, but it might save you the trouble of trying. > > --Karl > _________________ > Karl Swedbergwww.englishrules.comwww.learningjquery.com > > On Jan 3, 2008, at 8:47 AM, neXib wrote: > > > > > 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 :)