IE, spawn of Satan

From: Matt27 Aug 2013 13:19
To: CHYRON (DSMITHHFX) 12 of 58
If you were genuinely only doing that, and IE stopped responding to clicks, then sure IE is broken.

But I suspect you have other (broken) JavaScript on the page (console is your friend), or maybe have managed to position a transparent element over the click target (element selector is your friend) which is stopping the target element from receiving the click events.

The whole point of jQuery is that it makes things like this behave the same across all browsers, including IE.
From: CHYRON (DSMITHHFX)27 Aug 2013 15:30
To: Matt 13 of 58
From: af (CAER)27 Aug 2013 16:03
To: CHYRON (DSMITHHFX) 14 of 58
The point is, it's more likely the broken code you're using/writing being the issue, than it is jQuery's compatibility with IE10 being the issue.

Yes, old IEs can be a pain to work with, but the problem here could be several things specific to IE10, possibly it being more strict about certain things than Firefox or Chrome, or like Matt said, transparent elements over the target, or some slight difference in how IE interprets some CSS.

The point is you don't know, which is why everyone is telling you to open IE's console/dev tools and find out what the actual cause of the problem is, and fix that, rather than resorting to horrible inline-JS hackery.
EDITED: 27 Aug 2013 16:19 by CAER
From: af (CAER)27 Aug 2013 16:04
To: CHYRON (DSMITHHFX) 15 of 58
And if you have found an issue with jQuery and its different handling of browser features, you should let the jQuery devs know about it.
From: af (CAER)27 Aug 2013 16:19
To: CHYRON (DSMITHHFX) 16 of 58
Here's a minimal test case:
http://caer.me/clickhandler.html
From: CHYRON (DSMITHHFX)27 Aug 2013 16:21
To: af (CAER) 17 of 58
I suspect an IE-specific conflict between the ca. 2008 css list js and jquery that I injected my little submenu into.

I got it working. Am I going to now obsessive-compulsively troubleshoot an issue between a really old (and rather complex) javascript, jquery and IE10?

In a word, no.
EDITED: 27 Aug 2013 16:23 by DSMITHHFX
From: af (CAER)27 Aug 2013 17:18
To: CHYRON (DSMITHHFX) 18 of 58
Well sure, if it's an isolated case then no point losing sleep over it. Like you said earlier, the user isn't going to be looking at the source anyway, so if it works, no big deal.
From: CHYRON (DSMITHHFX)27 Aug 2013 18:26
To: af (CAER) 19 of 58
You are not PB.
From: Peter (BOUGHTONP)27 Aug 2013 19:03
To: CHYRON (DSMITHHFX) 20 of 58
It's quite simple:

    •  If all you want to do is whine about how useless you are at debugging trivial JS issues, use Ranter's Corner.

    •  If you want to receive advice on how you can stop being useless, post in Coding. It's not like these folder things are new technology or anything...

From: CHYRON (DSMITHHFX)27 Aug 2013 19:15
To: Peter (BOUGHTONP) 21 of 58
 (heart)
From: af (CAER)27 Aug 2013 19:27
To: CHYRON (DSMITHHFX) 22 of 58
Um, and?
From: CHYRON (DSMITHHFX)27 Aug 2013 20:47
To: af (CAER) 23 of 58
It's a blessing.
From: af (CAER)27 Aug 2013 21:18
To: CHYRON (DSMITHHFX) 24 of 58
No doubt, but why bring it to my attention?
From: CHYRON (DSMITHHFX)27 Aug 2013 21:50
To: af (CAER) 25 of 58
Peter could never bring himself to post what you said, unless he dropped acid a thousand times.

I don't expect he will, though.
From: Peter (BOUGHTONP)27 Aug 2013 23:17
To: CHYRON (DSMITHHFX) 26 of 58
Except I have at no point told you to lose sleep, and specifically identified it as a trivial issue.

Whether or not a random person decides to view source is irrelevant. More relevant, however, is whether a developer will come along in six months to make a change and wonder who did the ugly hack and why - they will of course be able to check the source control commit history for that line and see the explanation for making that particular change, right?

From: CHYRON (DSMITHHFX)27 Aug 2013 23:34
To: Peter (BOUGHTONP) 27 of 58
The web site is a whole ugly dog's breakfast. I chose the least intrusive route. Which paid off when I discovered my additions are compatible with ie7+ with a couple of minor CSS hacks (apologies; I know how repugnant you find this, you loon). The website is overripe for a complete rebuild, but ... not my call (or yours).

"the source control commit history"

You're joking, right? Please tell me you're joking.
EDITED: 27 Aug 2013 23:40 by DSMITHHFX
From: Peter (BOUGHTONP)27 Aug 2013 23:50
To: CHYRON (DSMITHHFX) 28 of 58
Seriously? The web site is a whole ugly dog's breakfast, so you're modifying it without using source control, because that makes so much sense.

Jeepers! Next you'll be saying you were working directly on the live server for those three hours.

From: CHYRON (DSMITHHFX)28 Aug 2013 00:44
To: Peter (BOUGHTONP) 29 of 58
The live site hasn't been touched.

For you, I recommend the acid therapy. Begin today.
From: Peter (BOUGHTONP)28 Aug 2013 00:49
To: CHYRON (DSMITHHFX) 30 of 58
Unlike yourself?
From: CHYRON (DSMITHHFX)28 Aug 2013 00:57
To: Peter (BOUGHTONP) 31 of 58
Been there, done it. :O)