jQuery ui datepicker positioning problem when scrolling down webpage

前端 未结 10 1247
野的像风
野的像风 2021-01-02 11:30

I have a webpage that uses multiple instances of the jQuery ui datepicker. My webpage will display ~80 records which extends beyond a single screenshot.

<         


        
10条回答
  •  执念已碎
    2021-01-02 11:55

    I was having these issues as well in IE 9 and cannot thank you enough for your collective help. Chrome 22.0.1229.94 m and FF 15.0.1 did not exhibit this issue for me.

    I first tried forcing IE 8 emulation with a meta tag

     
    

    to no avail.

    I then edited the jquery.ui.datepicker.js file as suggested to adjust position height by accounting for scrolling. This did not work either.

    Finally I changed my doctype from

     
    

    to

    which worked successfully!!

    I removed the meta tag that forced IE 8 emulation, but kept the changes I made to the datepicker js file. My success could be a combination of the edited js and the change in doctype, or just the change in doctype.

提交回复
热议问题