I have an iframe which is by default hidden. It becomes visible on a double click event and should be in editable mode.

I set iframeObject.contentDocument.designMode='on' on body load event. But when i fire a double click event, iframe becomes visible but not in editable mode.

How to achieve this specially for firefox2.Any other alternative, let me know.

In IE its working fine. Also i want to know how to set textarea value to an iframe

Any help will be greatly appreciated.
Thanks in advance

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.