|
Posted by David Dorward on 10/25/64 12:00
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.
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
Navigation:
[Reply to this message]
|