/    Sign up×
Community /Pin to ProfileBookmark

dynamic content generation in ancient browsers

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?

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@FangJan 02.2009 — innerHTML is supported by IE4

Documents should be as html or server generated. Adding content purely with JavaScript is bad design.
Copy linkTweet thisAlerts:
@voidvectorauthorJan 02.2009 — Not every web app is about serving content from a back-end. This app is entirely client side by design & by usage.
Copy linkTweet thisAlerts:
@FangJan 02.2009 — Then don't expect to be able to support all browsers.
×

Success!

Help @voidvector spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.30,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...