Re: set value of the datetimepicker but the value does not appear in the input box

2007-09-19 Thread Abhinav
Try this : var vDate = dojo.widget.byId("validateDate"); vDate.inputNode.value = '2007-01-01'; Andvar Woo wrote: Thanks for your reply,but the problem still exists: the value do be set--a alert statement shows that,but the input box still displays nothing: just a blank,the datetimepicker does

Re: set value of the datetimepicker but the value does not appear in the input box

2007-09-19 Thread Andvar Woo
Thanks for your reply,but the problem still exists: the value do be set--a alert statement shows that,but the input box still displays nothing: just a blank,the datetimepicker does not work either--i cannot select a new date,the dropdown date-select panel does not appear when click the date icon.

Re: set value of the datetimepicker but the value does not appear in the input box

2007-09-19 Thread Martin Gainty
Andvar- Date date = new Date("Sat, 01 Jan 2007 13:30:00 GMT"); and then once you acquire the id call setDate as in dojo.byId(id).setDate(date); courtesy of a posting by musachy http://mail-archives.apache.org/mod_mbox/struts-user/200705.mbox/[EMAIL PROTECTED] HTH/ M-- - Original Message -