Title: Updating easyui-datebox error Post by: bakkers on July 01, 2015, 11:58:36 PM Hello
I have created a easyui-window and in this window i have a easyui-datebox field. When i click on a button i update the easyui-datebox with a date. $('#myDate').datebox('setValue', document.getElementById('dateHidden').value); The problem is that i can't see the value in the easyui-datebox field. The field is empty, but it isn't because if i in the same script function gets the value i can see that the value is set. alert($('#myDate').datebox('getValue')); Do i need to refresh the field in some way, or is it an error with using a easyui-window and easyui-datebox? Title: Re: Updating easyui-datebox error Post by: jarry on July 02, 2015, 02:01:11 AM Please refer to this example http://jsfiddle.net/z844z0p5/
Title: Re: Updating easyui-datebox error Post by: bakkers on July 02, 2015, 02:08:07 AM There was no error. I found out i had made an error elsewhere.
This thread can be deleted. |