- From: ValerieGSharp <ValerieGSharp@netscapeonline.co.uk>
- Date: Wed, 22 Nov 2000 20:35:25 +0000
- To: Dylan Schiemann <dylans@yahoo.com>
- CC: www-style@w3.org
Dylan Schiemann wrote:
>
> Val Sharp wrote:
> > ....
> > document.getElementById("pId").className="go";
>
> This should actually be
> document.getElementById("pId").class="go";
> IE incorrectly uses className
> ....
DOM2 - Appendix E: ECMA Script Language Binding: "Object HTMLElement"
(http://www.w3.org/TR/2000/CR-DOM-Level-2-20000510/ecma-script-binding.html#HTML-ECMA)
explicitly gives the property as 'className'.
--
Regards,
Val Sharp - Edinburgh
Received on Wednesday, 22 November 2000 15:43:24 UTC