JSFiddle - React, Tailwind, and code Playground
HTML
<script src="//www.jeasyui.com/easyui/jquery.easyui.min.js "></script>
<link rel="stylesheet" href="//www.jeasyui.com/easyui/themes/default/easyui.css">
<div style="padding: 50px;">
<input id="myTextbox">
<br>
<a id="myLinkbutton">disable textbox</a>
</div>
JavaScript
$(function() {
$('#myTextbox').textbox({
'width': '75%',
height: 150,
multiline:true,
onChange: function(newValue, oldValue){
alert('--------->oldValue.length: ' + oldValue.length + '--------->newValue.length: ' + newValue.length);
}
});
$('#myTextbox').textbox('initValue', 'Here needs to be written some instruction for the Task. Details about what he/she has to do.\rQuality Method: Sign off\rQuality Definition: Email with sign off of minutes\rFeedback Link: http:\\www.test.de');
$('#myLinkbutton').linkbutton({
plain: true,
onClick: function() {
$('#myTextbox').textbox('readonly', true);
}
});
});