I'm no sure I understand. On the demo page if I click this button:
Code:
<input type="button" onClick="alert(this.form.orderdate.value)" value="Show date value passed">
which clicking on is not hitting 'enter', the value I typed into the year field is shown. I guess I'm a little vague on what you mean by 'use the calendar object'. I can do this in the address bar:
Code:
javascript:alert(document.forms[3][3].value)
and it accurately reports any typed in change to the value of the second year field on the page. ([1][3] will get the first one) Just exactly what isn't this doing for you?
Please post a link to the page on your site that contains the problematic script so we can check it out.
Bookmarks