1 | | Here is a new set of files with a different solution. Testing in MSIE 7 indicates the above solutions (Javascript and CSS) do not work, since they introduce grayed-out scroll bars into the frame. |
2 | | |
3 | | I opted for this instead: |
4 | | |
5 | | {{{ |
6 | | #!js |
7 | | $('#dateField').unbind('keyup').keyup(function() { |
8 | | if ($.datepicker._datepickerShowing) { |
9 | | $.datepicker._doKeyUp({ target: this }); |
10 | | } |
11 | | }); |
12 | | }}} |
13 | | |
14 | | This additional check should be built into the Keyup handler set up by Datepicker. I don't see a need to update the calendar on "keyup", if the calendar is not shown. |
15 | | |
16 | | See all three versions on [http://jsbin.com/uteze4 this page]. |
17 | | |
18 | | The first frame implements no special behavior. The second frame uses the CSS in the above comment. The third version overrides the keyup event. Test this using MSIE 7 (I am not able to test with MSIE 8 at this time), by going into the text field of each frame, and hitting the `[Ctrl]` key. |
19 | | |
20 | | Note that it's probably a good idea to hide the div in any case. |
| 1 | - |