|
Posted by David Dorward on 09/30/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/
[Back to original message]
|