1

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,
            changeYear: 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?

1 Answer 1

1

Have you tried z-index or rearranging your DOM?

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.