EasyUI Forum
October 10, 2024, 10:37:46 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: onSubmit get textEditor value  (Read 5415 times)
Alfred
Full Member
***
Posts: 134


-Licensed User-


View Profile
« 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){
            }
     });
Logged
Pierre
Sr. Member
****
Posts: 439


View Profile Email
« Reply #1 on: August 04, 2018, 10:38:43 PM »

I'm using this

var html = $('#texteditor_div').texteditor('getValue');
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!