Skip to main content

Bug Tracker

Side navigation

#13485 closed bug (notabug)

Opened February 20, 2013 05:40PM UTC

Closed February 28, 2013 09:07PM UTC

Last modified February 28, 2013 09:23PM UTC

jquery on IE9/10 issue: addclass from option/select

Reported by: t6star Owned by: t6star
Priority: undecided Milestone: None
Component: unfiled Version: git
Keywords: Cc:
Blocked by: Blocking:

This is a mockup version of a dashboard that is not functioning properly in IE9 or IE10. It works perfectly in Chrome, Firefox, and the jsfiddle I set up for it during testing. When you select "controls" at the top, then select "custom date range" from the "custom date range" dropdown, as you can see in the jsfiddle the calendar appears to the right. Only in IE9 and IE10 does this not work. Any suggestions to fix this would be greatly appreciated. I have tried switching it from a .click to a .change; and tried different scenarios using blur or focus as well. I'm pretty sure the suspect code islines 103-114 in the jsfiddle:

Attachments (0)
Change History (7)

Changed February 20, 2013 05:47PM UTC by rwaldron comment:1

Please reduce the provided case to illustrate only the bug—thanks!

Changed February 20, 2013 05:47PM UTC by rwaldron comment:2

owner: → t6star
status: newpending

Changed February 20, 2013 06:59PM UTC by t6star comment:3

status: pendingnew

Replying to [comment:1 rwaldron]:

Please reduce the provided case to illustrate only the bug—thanks!

I will try and do that. I didn't write the original code, I was brought in to debug it, and it might take me a bit to reverse engineer it. Thank you for your attention to this issue.

Changed February 24, 2013 09:23PM UTC by dmethvin comment:4

status: newpending

Please reply with a test case.

Changed February 28, 2013 09:03PM UTC by t6star comment:5

status: pendingnew

I have a test case up in the attached jsfiddle. It was relayed to me earlier that it needs to be stripped down to ONLY the issue, and as I didn't write the entire code associated with the problem, it is taking me time to do so. I am doing my best. If you would like to take a look at the jsfiddle as it stands, you can find it here:

To see the issue in action, click on Controls-->View by: last week-->Custom date range. On Firefox 16 and higher, Chrome 22 and higher,IE8, and Safari the datepicker box appears. On IE9 or IE10, it does not.

Thank you for your help. I will get a stripped down version up in a different fiddle as soon as I can.

Changed February 28, 2013 09:07PM UTC by dmethvin comment:6

resolution: → notabug
status: newclosed

This is using jQuery 1.7.2. Honestly I think this is the wrong venue, especially after seeing the code. Ask for help on StackOverflow. Thanks!

Changed February 28, 2013 09:23PM UTC by t6star comment:7

I had it on both stackoverflow and sourceforge before presenting it to you, and no one was able to come up with a solution. I have tried multiple iterations of jquery versions.