I am trying to use client side Javascript to get the value of a date field created using the date/time picker. The following code returns “undefined”:
alert(XSP.getElementById(‘#{id:EndDate}’).value)
A non-Domino Dojo site said that you have to use the following code to get a value from a date picker:
dojo.widget.byId(‘EndDate’).inputNode.value
But, I get a ‘dojo.widget is undefined’ error.
Thanks in advance.
Karl