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 _______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com