When specifying a DOM event name in Javascript, does casing matter? For example, which of the following will work reliably:
- onMouseOver
- onmouseover
- Both are ok. Casing does not matter.
- It's more complicated than that....
When specifying a DOM event name in Javascript, does casing matter? For example, which of the following will work reliably:
It depends. It is case sensitive in XHTML. Plus, Javascript is always case sensitive.
Seems to be a duplicate.