In notepad++, I was writing a javascript file, and something didn't work: an alert had to be shown when a button was clicked, but it wasn't working.
I has used the auto-complete plugin provided with Notepad++, which presented me with "onClick".
When I changed the capital C to a small c, it did work.
So first of all, when looking at the functions in the auto-completion, I noticed a lot of functions using capitals.
But when you change getElementById to getelementbyid, you also get an error...
And to make matters worse, my handbook from school writes all the stuff with capital letters but the solutions are all done in small letters.
So what is it with Javascript and it's selective nature towards which functions can have capital letters in them and which can't?