Help

Hi everyone. I’m currently working on a web-based application and Javascript has never been one of my strong points. I’m currently using this as my rich-text editor of choice and have a question which may be easy for JS pros but have been the cause of my misery for a day now.

I know very basic Javascript so I’ll explain my problem. So when the user clicks the insert image icon, Thickbox overlay opens up. This is iframe by the way. Here the user enters all there image info blah blah blah. Now when everything is good, the user clicks insert image. I need to pass the information from iframe to the textarea located on the parent document and was wondering how I would go about it.

I’ve been looking into it and my guess is something like execCommand(‘insertHTML’, 0, ‘HTML here’). However how do I link it to the textarea and pass the values. Additionally the text editor overlays an iframe on top of the textarea tag so I’m not sure about how I can solve this problem.

Please help. Thanks!

Sorry but I really need to resolve this problem. BUMP!