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
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.
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 -
3 matches
Mail list logo