Datepicker z-index issue?


http://jqueryui.com/download/
Ref: http://stackoverflow.com/questions/11533161/jquery-ui-datepicker-change-z-index
Solution:  
 var date2 = $( "#end_date" ).datepicker({
   defaultDate: new Date(),
   changeMonth: true,
   numberOfMonths: 1,
   minDate: lastYear,
   dateFormat: 'yy-mm-dd',
   beforeShow: function() {
       setTimeout(function(){
           $('.ui-datepicker').css('z-index', 99999999999999);
       }, 0);
   }
 });

评论

此博客中的热门博文

XML, XSL, HTML

Input in element.eleme.io

Data URI是由RFC 2397 ACE