xheditor怎么获取编辑器中的值,因为要做表单验证
beyyh 2015-08-25 05:12:49 <textarea id="mail_content" name="mail_content" class="xheditor {width:'680',height:'280'}"></textarea>
这是引用了xheditor的文本域。效果正常显示,内容也可以正常提交,就是表单验证textarea 内容长度时获取不到textarea 的内容。网上搜了都说用$(xheditor id).val(),但是不知道xheditor id是什么,请各位高手指教一下,谢谢!