Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在弹出窗口中使用 tinymce 编辑器。当我尝试使用 html 的 name 属性获取所有字段值时,我无法获取字段值。它只返回空对象。它总是这样返回。[object Object] : "" 请提出任何解决方案。提前致谢。
尝试这个:
var html = tinyMCE.getInstanceById('<%= txtComments.ClientID %>').getBody().innerHTML;