如何清空textarea 的值
2016-05-31 11:11
190 查看
<textarea id="resultComment" style="height:100px;width:380px;text-align:left;" class="easyui-textbox" data-options="multiline:true,validType:['length[0,60]']" ></textarea>
<input type="button" onclick="clear()" value="清空" />
function clear() { $('#resultComment').textbox("setValue",""); }
相关文章推荐
- Android HeaderAndFooterRecyclerView、ExRecyclerView、PullRefreshLoadRecyclerView、PowerfulRecyclerView
- iOS--错误集锦--The image set name xxx is used by multiple image sets.
- Fake Objects
- hibernate主键(generator)生成方式
- SIFT特征(三)
- leetcode 27. Remove Element
- C#语法——const vs readonly
- 互联网金融时代的基础设施——征信
- Paste模块的世界
- [POJ2377]Bad Cowtractors(最大生成树,Kruskal)
- 【翻译】XV6-DRAFT as of September 3,2014 第0章 操作系统接口
- 如何解决哈希冲突
- jsp从数据库取数据到页面上
- 经典算法-兵兵球比赛
- JAR包
- 编程领域的“魔”
- 浅谈js中的延迟执行和定时执行
- 基于CGAL高效生成TIN网
- 线性表顺序存储
- JAVA_JSON