1

I recently migrated from JQuery 1.2 to JQuery 1.3. However, the DatePicker UI is giving me a problem. I have a text field within a JQuery dialog. A datepicker is attached to this field. When I click on the field the datepicker pops up but behind the dialog box, which blocks out almost the entire DatePicker. Also, the DatePicker does not display next to the text field but way below it. Is there anything I can do to position the datepicker properly?

EDIT: Here is my declaration of the datepicker:

$("#date").datepicker(
    {
        dateFormat: 'DD, d MM yy',
        minDate: 0,
        showOn: 'button',
        buttonText: "Choose a date",
        buttonImage: '/images/calendar.png',
        buttonImageOnly: true,
        hideIfNoPrevNext: true
    }
);
2
  • Hi Draco, some source could would be nice. Thanks! Commented May 22, 2009 at 9:23
  • Oops, my bad...added the source code now Commented May 22, 2009 at 9:29

1 Answer 1

2

please update to the latest JQuery Build. Afaik this has been a bug in a recent build.

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

1 Comment

I solved the problem by setting the z-index to 99999, but I think I will rather update to the latest build as you said just to be safe.

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.