jquery - Why does my javascript function not work in Internet explorer -
This is my JavaScript function. It is nested in a document. Function ()
$ (".bim"). Change (function () {var str = ""; $ ("input: checked"). Each (Function () {str + = $ (this) .next (). Text () + "_";}); Str = str.substr (0, str.length - 1); alerts (str);});
It works fine in Firefox and Chrome.
It does not work with IE8 and IE6
I'm very new to JavaScript and help would be greatly appreciated
Internet Explorer does not support : checked
pseudo class (nor does Sisal IIRC also).
Internet Explorer : checked:
does not support, but Bobbens said it back on Sizzle Will fall, which actually supports : checked
.
Which version of Internet Explorer are you using?
Comments
Post a Comment