2009/7/28 ScottSEA <william.scott.ba...@gmail.com>: > > I've undergone the process to convert to XHTML - all is valid and all > is well... but no. Firefox treats XHTML as XML. jQuery is designed > for HTML - when appending / prepending / removing it uses the innerHTML > () function, which of course doesn't work for XML/XHTML. >
Where isn't it working? I've just checked on an XHTML page, served with Content-Type "application/xhtml+xml", parsed in Strict Mode on Firefox 3.5.1 and the line: document.getElementById("log").innerHTML = "Fred" worked just fine. I've also used jQuery on other XHTML pages and it worked just fine. Regards, Nick. -- Nick Fitzsimons http://www.nickfitz.co.uk/