I don’t know how many of you out there are using TinyMCE and a script called wz_tooltip in conjunction on your Web site. However, for those of you that are doing just that, you might have come across one very frustrating issue: TinyMCE won’t load in Internet Explorer.
After banging my head against the wall for hours and hours trying to figure out why TinyMCE would not load properly on certain pages when viewed in Internet Explorer (6 or 7), I finally found the solution.
I then started thinking about when I had seen that security error in IE before. It then occurred to me that Internet Explorer throws that kind of fit when you try to alter a DOM element that hasn’t been completely loaded yet (for instance, if you try to add a child element to the “body” from within the “body” of your page).
So, I put the wz_tooltip.js back to the way it was before I made the changes mentioned above, and then simply moved my call to it. As long as you load the wz_tooltip.js after your WYSIWYG elements, everything seems to load just fine in all browsers.
I hope that helps some other people. For those of you that have not used wz_tooltip, you might want to check it out, as it’s a handy little tool to have in your development arsenal. For those of you that have not used TinyMCE, you absolutely must check it out, as it is probably the greatest and most universally recognized WYSIWYG editor available on the Web, today.