tomb<blog>

musings from the dark side

Jan 17, 2010

TinyMCE, custom plugins and ASP.Net

Jan 17, 2010

'theForm.__EVENTTARGET' is null or not an object

If you encounter this error in Internet Explorer there is an easy fix, just add

 onload="javascript: theForm = document.forms[0];"


to the body tag of the aspx page you are having problems with.

I was able to reduce the problem to a single javascript file tiny_mce_popup.js, but since there is no uncompressed version available out there I wasn't able to see what the problem really was. There were however, a lot of other people encountering the same issue but strangely enough, no fix from MoxieCode. And the fix I found came from their forums.

References:
http://tinymce.moxiecode.net/punbb/viewtopic.php?id=12744
http://tinymce.moxiecode.com/punbb/viewtopic.php?id=10686 

Comments

Write your comment:

(it will not be displayed)
Leave this field empty:

 
Powered by Mango Blog All Content and Media © Copyright MMX
Tomb Multimedia Productions Ltd
All Rights Reserved