首页 > 代码库 > Net 使用UEditor笔记

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"];                 }

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

Net 使用UEditor笔记