When ever I load a page with a very simple example I get
Uncaught TypeError: Cannot read property 'attachEvent' of null. Markdown.Editor.js:273
in my Chrome console log.
In Firebug I get
elem is null [Break On This Error]
if (elem.attachEvent) {
Markdo...itor.js (line 273)
Why am I getting those errors and how do I solve it?
null.attachEvent
<-- it's the same as this. Why doesn't that work, and why iselem
evaluating tonull
here? – Scleritiselem
evaluates tonull
and you should find out why. – Scleritis