Jquery UI Datepicker not displaying

前端 未结 21 1197
半阙折子戏
半阙折子戏 2020-12-05 18:10

UPDATE
I have reverted back to Jquery 1.3.2 and everything is working, not sure what the problem is/was as I have not changed anything else apart of t

21条回答
  •  没有蜡笔的小新
    2020-12-05 18:27

    Seems to happen with some themes (cupertino/theme.css) in my case.

    And the problem is the .ui-helper-hidden-accessible class which have clip property, like previous users said.

    Just Overwrite it and it will be fine

    $(document).ready(function() {
        $("#datePicker").datepicker({ dateFormat: "yy-m-d" });
        $('#ui-datepicker-div').css('clip', 'auto');
    });
    

提交回复
热议问题