Sam Marshall <> wrote:

> Just one thing about setAttribute for DHTML stuff: sometimes (probably
> depends on the property in question) it doesn't work on IE/PC. In those
> cases you just have to use the dot syntax (

This happens when the name of the attribute is not the same as the name
of the property. IE/Win seems to implement get/setAttribute as simply
doing the same as the dot notation, so for example:

    works, but shouldn't
    doesn't work, but should

The same goes for eg. <label for> (htmlFor) and probably a few others.