easyui-textbox 只读设置取消

<script>
$(function () {
$("#txt_beginAmount").attr('readonly', true);
$("#txt_beginAmount").attr('readonly', false);
})
</script>
<input type="text" class="txt02 easyui-textbox" name="txt_beginAmount" id="txt_beginAmount" data-options="required:true,160" />

原文地址:https://www.cnblogs.com/liuqiyun/p/6530640.html