Why do people keep mis-spelling the JavaScript event handlers such as onclick, onmouseover, onfocus etc. JavaScript is case sensitive and requires them to be all lowercase. XHTML is case sensitive and requires them to be all lowercase. HTML is not case sensitive and so you can spell it there as OnClIcK or oNcLICK or what ever upper/lowercase combo you like but you'd still be better off spelling it correctly just in case you decide to modernise your code and move the JavaScript out of the HTML into a separate file where it belongs.
Bookmarks