EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: rezzonico on November 24, 2016, 03:18:51 AM



Title: datebox - dinamically change a property
Post by: rezzonico on November 24, 2016, 03:18:51 AM
Hi all,

I have a easyui-datebox field.
I am trying to dinamically change a property.
I use the following command but it doesn't work:

$('#d1').prop('editable', false);

Is the syntax correct ?

Thanks
Miche


Title: Re: datebox - dinamically change a property
Post by: jarry on November 24, 2016, 08:18:20 AM
Please use this code instead.
Code:
$('#d1').datebox({editable:false});


Title: Re: datebox - dinamically change a property
Post by: rezzonico on November 24, 2016, 08:23:47 AM
Thanks !