开发者

jQuery UI Datepicker

开发者 https://www.devze.com 2022-12-13 15:47 出处:网络
I am using a modal dialog (provided by jQuery UI). Now on the dialog box there are input text boxes with class date. I want to bind Datepicker with these inputs. I\'ve written

I am using a modal dialog (provided by jQuery UI). Now on the dialog box there are input text boxes with class date. I want to bind Datepicker with these inputs. I've written

`$(".date").datepicker({
            changeMonth: true,
            change开发者_C百科Year: true,
            dateFormat: 'dd-mm-yy',
            showOn: 'button',
            yearRange: '1970:2015',
            buttonImage: '../../Content/calendar.gif', 
            buttonImageOnly: true
        });

in ready function. The problem is datepicker is opening in the disabled page behind the modal dialog. How can I overcome this problem?


Have you tried z-index or rearranging your DOM?

0

精彩评论

暂无评论...
验证码 换一张
取 消