Hi,
I am using a Texteditor in my form. When I clear the form using the 'clear' method it does not clear the texteditor content.
Of course there are other ways to do that, but it would be nice if the Form's 'clear' method can do that.
<form id="ff" method="post">
<div class="easyui-texteditor" title="TextEditor" style="width:700px;height:300px;padding:20px">
Some text...
</div>
</form>
<div style="text-align:center;padding:5px 0">
<a href="javascript:void(0)" class="easyui-linkbutton" onclick="clearForm()" style="width:80px">Clear</a>
</div>
<script>
function clearForm(){
$('#ff').form('clear');
}
</script>