Net 使用UEditor笔记

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

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

 

2、后台获取

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

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

posted @ 2017-05-23 10:43  天使不哭  阅读(218)  评论(0编辑  收藏  举报