[jQuery] How to submit the form using the date picker

[jQuery] How to submit the form using the date picker


Hi
I have used the datepicker plugin of "KeithWood" .Here
is my sample script written below
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>jQuery Datepicker</title>
<script type="text/javascript" src="jquery-1.3.2.js"></script>
<script type="text/javascript" src="jquery.validate.min.js"></script>
<script type="text/javascript" src="jquery.datepick.js"></script>
<script type="text/javascript">
$(function() {
$('#validMaxDatepicker').datepick({maxDate: +0,
showOn: 'both', buttonImageOnly: true, buttonImage:
'calendar.gif'});
    });
</script>
<style type="text/css">@import "jquery.datepick.css";</style>
</head>
<body>
<form name="myform" id="myform" action="test.php" method="POST">
<h1>jQuery Datepicker</h1>

A popup datepicker <input type="text" name="validMaxDatepicker"
id="validMaxDatepicker"/>


</form>
</body>
</html>
<?php
print_r($_POST['validMaxDatepicker']);
?>
What My problem When the datepicker is closed i have to get the Date
that is selected from the above datepicker.
Any help is highly appreciated
Regards
Suman