Ticket #8445 (closed bug: invalid)
jQuery datepicker doesn't work properly due to the presence of a text input
|Reported by:||Cupidvogel||Owned by:||Cupidvogel|
I am using the following code to select a date range using 2 inline datepickers. There are two date fields (div, with class dateheader). When a date is selected, that datepicker slides up. Basically when the date div is clicked, first it is checked whether the corresponding datepicker is already viewable (through the fromclicked and toclicked variables), if present, then slide it up, else slide it down, changing the corresponding clicked attribute accordingly, and before doing either, sliding the other datepicker up and setting its corresponding clicked attribute to 0. Now there is a text input at the bottom of the code. When it is excluded, the code works fine, as expected. However if it is included, the code breaks, i.e if you click one date div, then select a date from the datepicker, it will slide up correctly. Then if you click the other date div, the datepicker will slide down alright, but selecting a date won't slide it up. I am at my wit's end. Where is the bug? The complete code is at http://jsfiddle.net/Cupidvogel/2ppYb/ (I couldn't include the UI-CSS files like the UI darkness theme file and related images, but even the unstyled version is enough!).
- Owner set to Cupidvogel
- Status changed from new to pending