innerHTML - is this right?

Is innerHTML written with this combination of upper and lowercase letters, or is it written another way?

I assume if I write it with the wrong combination in the code ajax won’t work.


Do you mean uppercase for the tag names? It should work, regardless. Go ahead and try, and see what happens. If it doesn’t work, please come back and let us know (with the code!).

innerHTML itself has to be written exactly like that as JavaScript is case sensitive. HTML is not case sensitive and so when referencing HTML tags from JavaScript the case doesn’t matter (XHTML is case sensitive so tags there need to be lowercase).

Thank You