How to use JQuery UI datepicker with bgIframe on IE 6

Posted by Steve Davies on Stack Overflow See other posts from Stack Overflow or by Steve Davies
Published on 2008-10-01T16:30:17Z Indexed on 2010/03/08 20:21 UTC
Read the original article Hit count: 746

Filed under:
|
|

I am trying to use the JQuery UI datepicker (latest stable version 1.5.2) on an IE6 website. But I am having the usual problems with combo boxes (selects) on IE6 where they float above other controls. I have tried adding the bgIframe plugin after declaring the datepicker with no luck.

My guess is that the .ui-datepicker-div to which I am attaching the bgIframe doesn't exist until the calendar is shown.

I am wondering if I can put the .bgIframe() command directly into the datepicker .js file and if so, where? (the similar control by kelvin Luck uses this approach)

Current code

$(".DateItem").datepicker({
showOn:"button",
... etc ...
});
$(".ui-datepicker-div").bgIframe();

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about datepicker