Search code examples
javascriptphpjqueryhtmlimacros

Imacros. How to use TAG to write content to an Editable DIV


How to use TAG to write content to an Editable DIV in imacros firefox? I need help How can I write in div? help please! as in picture: https://i.sstatic.net/FvOxC.jpg

TAG POS=1 TYPE=div ATTR=ID:posting_form_text_field 

<div id="posting_form_text_field" class="itx itx__ce ok-e textWrap js-focus" contenteditable="true">textexemple...</div>


Solution

  • Doesn't this work?

    SET text "Some my text here"
    EVENTS TYPE=KEYPRESS SELECTOR="#posting_form_text_field" CHARS={{text}}