I ran into a line of jquery that looks like the below. It works fine in Chrome however when I try it in IE, I get a error saying "keyboardLanguageSelect is undefined."
$(keyboardLanguageSelector).children('option').length == 0
If I write it like the below it works in both.
$('#keyboardLanguageSelector').children('option').length == 0
Question: Why does chrome automatically find this where IE will not process it? Does anyone have a link that talks about these differences in the browser?