Assuming that "datePicker" is the id of the datetimepicker tag:

to get an string value (RFC 3339):

dojo.widget.byId("datePicker").getValue();

to get a Date object:

dojo.widget.byId("datePicker").getDate();

musachy

On 5/22/07, Julien Leonard <[EMAIL PROTECTED]> wrote:

Hello,

Since there is some problem with ajax validation, i'm trying to validate
my
self my dates with topics.
But I can't get the value of the component in JS,.
Is someone know how to get the value of a datetimepicker ?

Julien




--
"Hey you! Would you help me to carry the stone?" Pink Floyd

Reply via email to