I have a form that has a text input field with a datepicker attached.
I want to display today's date automatically without having to
actually go into the datepicker and select it. Sounds simple enough
but I am having difficulty.
Here is the javascript function...
<script type="text/javascript">
$(function() {
$('#jQueryUICalendar1').datepicker({ defaultDate:null });
});
</script>
Here is the HTML portion....
<form name="form_signRequest" id="form_signRequest" class=""
method="GET" action="">
<input type="text" size="15" class="dateInputField"
value=""
id="jQueryUICalendar1" readonly="true"/>
Does anyone have a solution? Thanks in advance
--
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en.