I have an HTML string representing an element:
'<li>text</li>'. I'd like to append it to an element in the DOM (a
ul in my case). How can I do this with Prototype or with DOM methods?
(I know i could do this easily in jQuery, but unfortunately we're not using jQuery.)