|
Posted by Neredbojias on 10/22/80 12:00
Well bust mah britches and call me cheeky, on Tue, 15 Jan 2008 17:01:04
GMT David Dorward scribed:
> Toby A Inkster wrote:
>> David Dorward wrote:
>
>>> Ironically, while camelCase is the usual JS style, in the case of
>>> event handlers, the DOM methods are lower case.
>>
>> Indeed. IIRC, *all* DOM properties that have a one-to-one mapping to
>> HTML attributes are lower case.
>
> Consistancy would be nice, but sadly ... *.className, meta.httpEquiv,
> body.bgColor, and so on.
Dont forget document.getElementById("...")... That's the one I just luuuv
typing.
--
Neredbojias
Riches are their own reward.
Navigation:
[Reply to this message]
|