Twitter Bootstrap Datepicker within modal window

后端 未结 22 1860
旧时难觅i
旧时难觅i 2020-11-29 02:42

I am currently using the Twitter Bootstrap framework, and when using the modal windows I cannot get over js elements to work like datepicker or validation, though chosen and

22条回答
  •  盖世英雄少女心
    2020-11-29 03:12

    I think is better to change the logical function in the plugin. Around row 552 i change this:

                var zIndex = parseInt(this.element.parents().filter(function(){
                    return $(this).css('z-index') !== 'auto';
                }).first().css('z-index'))+10;
    

    into this:

                var zIndex = parseInt(this.element.parents().filter(function(){
                    return $(this).css('z-index') !== 'auto';
                }).first().css('z-index')) + 10 * 1000; //think is enought
    

提交回复
热议问题