Quantcast
Viewing all articles
Browse latest Browse all 230302

Re: How do you hide the toolbar of an HTML Editor field by default?

Slight difference in the way the events are attached. attachEvent always refers to window, and holds no reference to the element. You could do something like this

 

el.attachEvent('eLoadComplete', function(){ customFunc.call(el) });

 

this will make "this" refer to the element within the function.


Viewing all articles
Browse latest Browse all 230302

Trending Articles