JQuery class selectors like $(.someClass) are case sensitive?

Posted by Justin Grant on Stack Overflow See other posts from Stack Overflow or by Justin Grant
Published on 2010-04-05T18:00:17Z Indexed on 2010/04/05 18:03 UTC
Read the original article Hit count: 232

Filed under:
|
|
|
|

Given this HTML:

<div class="OpenIDSelector">some text</div>

Why does this JQuery selector match it on some browsers and some pages, but not on others?

$('.OpenIdSelector)

NOTE: I ran into this problem and solved it myself, but it was annoying and I didn't find it on StackOverflow already, so I'm posting it as a Q&A pair so someone else won't waste an hour like I did.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JavaScript