var hdr = document.getElementById('hdr');
var ftr = document.getElementByID('ftr');
I want the 2nd line to visibly show me I mistyped getElementById . (I 'mistakenly' capitalized the last letter in the 2nd line. I typed "D" when it should be "d".) No text editor I have found can do this! Notepad++, Notepad2, Textpad, jEdit, Crimson Editor, even Dreamweaver code view - nothing catches syntax errors like that. Unless there's a plug-in or setting I am missing.
Therefore no syntax highlighter ought to be expected to detect that as it is only an error if you don't define the method.
It's called the error console.
This topic is now closed. New replies are no longer allowed.