[Web-SIG] JavaScript libraries
Roberto Antonio Ferreira de Almeida
roberto at dealmeida.net
Mon May 2 21:36:24 CEST 2005
Ian Bicking wrote:
> Incidentally, the Rails people felt pretty strongly that innerHTML was
> the way to go, because DOM manipulation is hard to maintain, and
> innerHTML is very consistent across browsers.
I had problems with innerHTML in pages served as application/xhtml+xml
-- it doesn't work. My solution was to write a function that converts
HTML to Javascript code to manipulate the DOM:
http://dealmeida.net/en/Programming/Python/from_xhtml_to_dom.html
I'm not sure how well it works in IE, though.
Roberto
More information about the Web-SIG
mailing list