会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
白竹0301
博客园
首页
新随笔
联系
管理
订阅
2013年4月8日
js中获取textarea的值
摘要: function getValues() { // 取得HTML内容 var html = editor.html(); // KindEditor.trim(html); // 同步数据后可以直接取得textarea的value editor.sync(); html = document.getElementById('content1').value; // 原生API alert(html); }
阅读全文
posted @ 2013-04-08 14:55 白竹0301
阅读(6841)
评论(0)
推荐(0)
编辑
公告