1

I am using this open source calendar and have the listbox below the date picker button.

When I click the date picker button, the listbox will suddenly hide in IE6, IE7 and IE8. How can I fix this issue?

Tomalak
  • 332,285
  • 67
  • 532
  • 628
vlk
  • 53
  • 2
  • 7

1 Answers1

1

Isn't it supposed to be hidden? From the site…

this select should hide when the calendar is above it

This is to work around the limitation in IE with z-index, see Z-Index problems with IE6 and html <select> element and probably many other questions.

The calendar you are using is out of date and you might find you get incompatibilities with newer browsers. I would recommend the jQueryUI Datepicker for a more up-to-date (and cooler) calendar. Although that does mean you would need to include jQuery and a jQueryUI theme which might not suit your needs.

Edit: The code is blindly hiding <select> elements for all versions of IE, even though the bug was fixed in IE7 - a year after that calendar library was last updated :-)

Community
  • 1
  • 1
andyb
  • 43,435
  • 12
  • 121
  • 150