Jquery datepicker popup not closing on select date in IE8

前端 未结 10 1350
逝去的感伤
逝去的感伤 2020-12-15 05:46

I\'ve got a web form with a start date field. I\'ve tied a jquery datepicker to the txt field. Now when I choose a date in FF, the selected date is populated in the text box

10条回答
  •  南笙
    南笙 (楼主)
    2020-12-15 06:28

    change jquery.ui.datepicker.js line 1504

    '" href="#"  >' + printDate.getDate() + '')
    

    with

    '" href="javascript:DP_jQuery_' + dpuuid + '.datepicker._selectDay(\'#' +
           inst.id + '\',' + printDate.getMonth() + ',' + printDate.getFullYear() + ', this);"  >' + printDate.getDate() + '')
    

    test works OK!

提交回复
热议问题