EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 08, 2024, 02:16:55 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
General Discussion
>
How to programmatically clear text inside easyui texteditor
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to programmatically clear text inside easyui texteditor (Read 5128 times)
Alfred
Full Member
Posts: 134
-Licensed User-
How to programmatically clear text inside easyui texteditor
«
on:
July 30, 2018, 03:41:34 AM »
I don't see any method in the doc for clearing the text inside the texteditor. Please help.
Logged
jarry
Administrator
Hero Member
Posts: 2273
Re: How to programmatically clear text inside easyui texteditor
«
Reply #1 on:
July 30, 2018, 07:01:48 PM »
Call the 'setValue' method with empty string to clear the content.
Code:
$('#te').texteditor('setValue', '');
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...