1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need help filling out a RichText editable div.

Discussion in 'General Scripting Chat' started by Renwo, Mar 31, 2013.

  1. Renwo

    Renwo Junior Member

    Joined:
    Aug 15, 2011
    Messages:
    130
    Likes Received:
    16
    I am using iMacros for FF, and I can't seem to figure out how to place text into this div.

    Code:
    <div role="textbox" g_editable="true" class="yd editable" id=":2t.f" contenteditable="true">
    
    The id changes, but even when I'm trying to fill content using the "current id" with TAG nothing happens. I have tried CLICK X/Y CONTENT= and that doesn't work either. Have also tried using the following javascript and that doesn't work either.

    Code:
    function writeEditableDiv(div_id, strHTML)
    {
       document.getElementById(div_id).innerHTML = strHTML;
    }
    
    Code:
    URL GOTO=javascript:writeEditableDiv(":2t.f","Test<SP>test") 
    
    Found similar situations where people are using DS and WINCLICK commands to fill in such text boxes, but those commands aren't supported with the FF plugin.

    I have spent hours trying to figure out how to fill that div and I'm in desperate need of help. Any suggestions?
     
  2. nithalon

    nithalon Registered Member

    Joined:
    Jan 24, 2014
    Messages:
    64
    Likes Received:
    10
    i need help with this too