SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: Help

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Jun 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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!

  2. #2
    SitePoint Member
    Join Date
    Jun 2007
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry but I really need to resolve this problem. BUMP!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •