<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" />