WebForm使用Ueditor获取编辑器的值有两种方法:
1、通过前台js 获取

      function test()
      {
          alert(UE.getEditor('控件Id').getContent());
      }

 

2、后台获取

        protected void Button1_Click(object sender, EventArgs e)
        {
            string ss = Request["editorValue"];         
        }

注意:页面如果有多个百度编辑器的话,默认是采用 “ , ” 分割的字符串

相关文章:

  • 2022-12-23
  • 2021-05-16
  • 2021-11-30
  • 2021-04-17
  • 2021-12-10
  • 2021-07-24
  • 2021-07-10
  • 2021-11-18
猜你喜欢
  • 2021-11-02
  • 2022-01-03
  • 2022-01-11
  • 2021-05-29
  • 2022-03-03
  • 2021-10-22
  • 2021-07-27
相关资源
相似解决方案