js如何取得ueditor里的值啊
我现在想用ajax的$post给服务器端传值,如何获取ueditor里的值呢,我的页面加载代码如下:
<script type=”text/javascript” charset=”utf-8″>UE.getEditor(‘blog_content’);</script>
页面能显示出来ueditor。
我现在用jq呀js通过id“blog_content”取到的值alert出来全是空,取不到这个值,我如何$post这个值啊。。。。请高手解答
——解决方案——————–
那应该是你搞错对象,找错
UE.getEditor(‘editor’).getContent(/本文来源gao@!dai!ma.com搞$$代^@码5网@搞代gaodaima码) 用这看看
——解决方案——————–
看看你的 .post 怎么写的。。。估计是写错了