datepicker continuously popping out the box on IE8
I am having a problem with jquery datepicker via IE8, when I clicked the input form the calendar box pops = this is normal, but after choosing a date from the calendar box, the box is still there, and it won't go away unless i click away on some other portion of the screen. but on other browsers, i'ts not like th开发者_JS百科at. any idea how to fix this ? here's my code
//html
<div class="row">
<label>Date of Birth <span class="required">*</span></label>
<input type="text" id="datepickercv" name="dob" value="<?php echo $_POST['dob']; ?>" />
</div>
//js
$(function(){
$('#datepickercv').datepicker({changeYear: true,changeMonth: true,yearRange:'1940:2011',defaultDate:+7});
})
which version of jquery-ui are you using? Even I had the same issue on IE8. This seems to be a bug in 1.8.15, check here, upgrading to 1.8.16 fixes the issue!
精彩评论