Answer the question
In order to leave comments, you need to log in
jQuery UI datepicker - How to implement the ability to select two dates, from and to in 1 built-in calendar?
There is a built-in calendar with an event on clicking on a date, it is attached to a text field:
<script type="text/javascript"><br>
$().ready(function() {<br>
<br>
$("#datepicker").datepicker({<br>
onSelect: function(dateText, inst) { <br>
$("#datepicker_value").val(dateText);<br>
}<br>
});<br>
<br>
});<br>
</script><br>
<p<input type="text" value="08.07.2012" id="datepicker_value"/></p>
Answer the question
In order to leave comments, you need to log in
Well, it is necessary to expand the datapicker, it does not know how to do this out of the box. The functionality is described here . There's a link there, but right now it's throwing an error.
The site from the example did not open for me. So like jsfiddle.net/BJEYe/ ?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question