Neil wrote:
I demand that Stefan Scholl may, or may not, have written:
I can't give the editor frame (iframe with Midas enabled) focus.
ef.contentWindow.focus();
Just doesn't work. What am I doing wrong?

Have you looked at the midas demo? http://www.mozilla.org/editor/midasdemo/

It seems the midasdemo doesn't give it the focus. It's just prevents it from losing it. ("e.preventDefault();" in the onmousedown handler)



I can't tell what's wrong with your code becuase I don't know what ef means.

editor frame. Instead of calling getElementById() every time.





Reply via email to