Submit Form
2005/03/30 03:58
Viewed 11469 times
Replies: 1/1
by Joel

Hi, I have been wondering how you would go about making a form that holds the calendar automaticly submit when a date has been selected. Thanks.

Re: Submit Form
2005/03/30 16:10
Viewed 14284 times
Replies: 0/0

Pass the "onUpdate" parameter to Calendar.setup, like this:

function submitForm() {
var form = document.getElementById("my-form");
// note, your form should have this ID
form.submit();
}

Calendar.setup({
...
onUpdate : submitForm,
...
});

Hope this helps.

last
Google