This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
cross-browser method or property for get/set style in js no code I have seen works cross browser. we need a standard/recommendation. for example from now on, using BOTH document.getElementById(id).style.display="none"; and document.getElementById(id).style["display"]="none"; or using at least the 2nd, which is more conducive to generic programming.
This is outside the scope of the JavaScript / Web ECMAScript spec. See <http://javascript.spec.whatwg.org/#goals>.