How to make two datepickers work
Using one picker works fine, but if i double up the functions & the forms like below, the second picker dosent get returned, I only get the first picker (Your start date is) emailed back. I have tryed laying out the code as script function, form script function, form but still dont return second picker date, why would that be.
<script type="text/javascript">
$(function(){
$("input[name='Your Start Date is']").datepicker();
})
</script>
<script type="text/javascript">
$(function(){
$("input[name='Your End Date is']").datepicker();
})
</script>
<!-- Start of datepicker 1 Select Start date -->
<form name="myForm" method="post">
<input name="Your Start Date is" maxlength="10" />
</form>
<!-- End of datepicker 1 Select Start date -->
<!-- Start of datepicker 2 Select End date -->
<form name="myForm1" method="post">
<input name="Your End Date is" maxlength="10" />
</form>
<!-- End of datepicker 2 Select End date -->