Alternatives to innerHTML

Did you know that innerHTML is not part of any DOM standard?  InnerHTML is an DOM extenstion that MS introduced back in the days of IE4, and has since been supported by most major browser.  The problem is that as it is not part of the DOM standard, there is no garantee that it will be around in the future.

The Slayeroffice website has a great article that shows many Alternatives to innerHTML by using standard DOM methods and properties.

One Response to “Alternatives to innerHTML”

  1. Vesa Kortelainen said on February 14th, 2006 at 11:56 pm

    Im always glad to find new ways to get more “standarized” for development (Sorry for my bad grammar)