jQuery UI datepicker doesn't work in IE7
Helllo everyone,
Here is the sample of the JS code I use
function() {
if($(".datepicker")) {
$(".datepicker").datepicker($.datepicker.regional['de']);
}
}
but it just does not show the page in IE7 under Window开发者_StackOverflows.
Any ideas what did I do wrong here?
IT works for me i have used it as,
<script>
$("#start_date").datepicker($.datepicker.regional['de']); //also works
$("#start_date").datepicker('option', 'dateFormat', 'yy-mm-dd');
$("#end_date").datepicker();
$("#end_date").datepicker('option', 'dateFormat', 'yy-mm-dd')
</script>
<input type="text" id="start_date" name="start_date" title ="Start Date" />
<input type="text" id="end_date" name="enddate" title ="enddate" />
精彩评论