I wonder how to set the date of a DatePicker in Javascript.

I tried sth. like
   document.forms[0].departureDatePicker.value='x.x.x'

which works partly. The text field is updated, but when I click on the DatePicker icon the picker is still set to the old value.

I had a look at DatePicker.js and found the funtion

Calendar.prototype.setCurrentDate = function(date) {
   ...
}

That one seems to be a good candidate for my task, but I don't have any idea, how to invoke it. (My knowledge about JavaScript is almost non existant).


Andy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to