Menu
I am writing a JS app in which I need to support version 4 browsers. The premise of the app is to detect JavaScript features available in a given browsers, so I want to support as many browser as possible. Tests include both simple object tests and syntax test (i.e. language constructs).
Currently all the testing HTML are hand-coded, I want to automatically generate them. My question is besides innerHTML/document.write, how do I generate content (ex nihilo) in version 4 browsers?