I posted this not long ago on this list. Basically you have to use
"getDate()" to get a JavaScript date object and getValue() to get the text
entered in the datepicker.

musachy

On 6/7/07, Vincent Lin <[EMAIL PROTECTED]> wrote:

I am trying to get the value inputed by the user from datetimepicker
object.
I have the following javascript in my JSP:

        var obj = dojo.widget.byId("createTimeTm");
        alert(obj);
        alert(obj.getValue());

But "alert(obj.getValue())" encounter a javsacript error.

Can anyone tell me the correct syntax of the javascript to retrieve the
value of datetimepicker object?

Thanks!




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

Reply via email to