如何设置HTMLEditorExtender HTML从客户端 [英] How to set HTMLEditorExtender HTML from client side

查看:122
本文介绍了如何设置HTMLEditorExtender HTML从客户端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不能得到这个工作,这里是code,我在另一个线程找到,但它不是为我工作,我得到set_content不是一个函数

  $找到(<%= Hee.ClientID%GT;)。set_content(无所谓);

这是仍然有效?
我也试着将它扩展了文本框的值,尝试设置两个innerHTML的,但没有奏效。


解决方案

  $找到(<%= Hee.ClientID%GT;)._ editableDiv.innerHTML =无所谓 ;

I cannot get this to work, here is code that I found in another thread but it is not working for me, I'm getting "set_content is not a function" :

$find("<%=Hee.ClientID%>").set_content("whatever");

Is this still valid? I also tried to set value of the textbox it extends, tried setting InnerHtml of both,none worked.

解决方案

$find("<%= Hee.ClientID %>")._editableDiv.innerHTML = "whatever";

这篇关于如何设置HTMLEditorExtender HTML从客户端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆