For an html link
For an button
Don't forget the following code must be in a form
How to have a link submit a form
Using links just to submit a form is a very poor usage of them (see misusing links), such as:
<a href="#" onclick="document.formName.submit();">Submit Form</a>
2005-01-20 Bug - In month view if user clicks on a day name to go to that week the month calendar is not saved first. Caused because user is clicking on a hyper link which doesn't cause the form date to be submitted to show_month.php to be saved. Need to use a link to submit the form, but also need to somehow pass the date of the day clicked on. Don't know how to do that since a submit() will be used. Maybe pass the date inside of the submit("2005-01-20").