jQuery UI datepicker performance

我们两清 提交于 2019-12-03 07:11:33

I also ran into this problem. Here are a couple of things that can help performance in IE6:

  1. Turn on background image caching. This will load images before the datepicker is shown:

    try {
        document.execCommand("BackgroundImageCache", false, true);
    } catch(exception) {
        // other browsers do nothing
    }
    
  2. Turn off animations. Things won't look as nice, but performance is what matters:

    $("#datepicker").datepicker( { showAnim: '' });
    

These seemed to help a bit for me. There may be other small tweaks you can do also.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!