Re: [Error] backgroundColor : setting a property that has only a getter !
David BERCOT <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
Sorry !!! I've put on the ml an old version !!! I have in my code, the "proper" version ;-) But I still have the error : setting a property that has only a getter ! I don't understand why... David. Le Thu, 31 Jul 2008 15:28:22 +0200, Martin Honnen <[email protected]> a écrit : > David BERCOT wrote: > > > if (petits_fils[k].tagName > > = "span") { petits_fils[k].style.backgroundColor:yellow"; > > The proper syntax is > petits_fils[k].style.backgroundColor = "yellow"; _______________________________________________ dev-tech-dom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-dom