Define a form with a readonly datebox component.
<form id="ff" method="post">
<div style="margin-bottom:20px">
<input class="easyui-textbox" name="name" style="width:100%" data-options="label:'Name:',required:true">
</div>
<div style="margin-bottom:20px">
<input id="birthday" class="easyui-datebox" name="birthday" style="width:100%"
data-options="label:'Birthday:',required:true,readonly:true">
</div>
</form>
After clicking the 'New Button', call this code to load the from with some initialized data and set the datebox component to editable status.
$('#ff').form('load', {
name: 'myname',
birthday: $.fn.datebox.defaults.formatter(new Date())
});
$('#birthday').datebox('readonly', false)