【问题标题】:Imacros. How to use TAG to write content to an Editable DIV宏。如何使用 TAG 将内容写入可编辑 DIV
【发布时间】:2017-01-09 16:19:23
【问题描述】:

如何使用 TAG 将内容写入 imacros firefox 中的可编辑 DIV? 我需要帮助 怎么写div? 请帮忙! 如图:http://imgur.com/a/70JnD

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>

【问题讨论】:

  • 在实验事件录制模式下录制宏。
  • 我想在那个框架里写,如图:imgur.com/a/70JnD

标签: javascript php jquery html imacros


【解决方案1】:

这不行吗?

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

【讨论】:

  • 浏览器未打开时不总是工作,为什么不工作?
  • 不幸的是,在某些页面上,事件命令的工作方式是这样的 :(
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-07-21
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多