Jeena Paradies: Ersatz für innerHTML

Beitrag lesen

Hallo,

Ich will dabei keinen veralteten MS Mist mit innerHTML programmieren, weil es ist nicht W3C konform und soll auch noch in Zukunft funktionieren. Wie also kann ich das Element in meinem Baum einfügen ?

Ähm ... Dogmaalarm!!1 Was heißt veraltet? Und dir ist klar, dass das XMLHttpRequest Objekt auch MS Mist ist, der bisher nirgendwo standartisiert wurde?

Lesetipp: We all love innerHTML
This article is co-written with Anne van Kesteren, W3C Member and contributor to the WHATWG and Opera specifications, R&D and QA person.
[...]
The fact that it is not in a standard is simply because nobody got around to it. If you read the mailing list of the W3C Web API’s Working Group you can see that Opera, Mozilla and Apple want it to be standardized and we bet Microsoft would like the same thing.

Lesetipp: What's wrong with innerHTML?
I know Jeremy Keith's position on this but I still don't understand why him and others are so against innerHTML. Sure it's not part of a standard (yet) but neither is the XMLHttpRequest object (yet).

Grüße
Jeena Paradies