EasyUI Forum

General Category => General Discussion => Topic started by: Alfred on August 04, 2018, 10:21:08 AM



Title: onSubmit get textEditor value
Post by: Alfred on August 04, 2018, 10:21:08 AM
How can I get the value of texteditor. I use the following code, but it does not submit the texteditor value:

     
Code:
$('#myform').form('submit',{
            url: url,
            onSubmit: function(){
                return $(this).form('validate');
            },
            success: function(result){
            }
     });


Title: Re: onSubmit get textEditor value
Post by: Pierre on August 04, 2018, 10:38:43 PM
I'm using this

var html = $('#texteditor_div').texteditor('getValue');