Bug Tracker

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#13485 closed bug (notabug)

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:

Description

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:

http://jsfiddle.net/Y2adT/

Change History (7)

comment:1 Changed 6 years ago by Rick Waldron

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

comment:2 Changed 6 years ago by Rick Waldron

Owner: set to t6star
Status: newpending

comment:3 in reply to:  1 Changed 6 years ago by t6star

Status: pendingnew

Replying to 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.

comment:4 Changed 6 years ago by dmethvin

Status: newpending

Please reply with a test case.

comment:5 Changed 6 years ago by t6star

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: http://jsfiddle.net/Y2adT/

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.

comment:6 Changed 6 years ago by dmethvin

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!

comment:7 Changed 6 years ago by t6star

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.

Note: See TracTickets for help on using tickets.