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!

