EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 14, 2025, 03:43:03 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Updating easyui-datebox error
Pages: [
1
]
« previous
next »
Print
Author
Topic: Updating easyui-datebox error (Read 8389 times)
bakkers
Newbie
Posts: 21
Updating easyui-datebox error
«
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?
Logged
jarry
Administrator
Hero Member
Posts: 2298
Re: Updating easyui-datebox error
«
Reply #1 on:
July 02, 2015, 02:01:11 AM »
Please refer to this example
http://jsfiddle.net/z844z0p5/
Logged
bakkers
Newbie
Posts: 21
Re: Updating easyui-datebox error
«
Reply #2 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.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...