If you've ever tried to use someArray.indexOf(somevalue) in Internet Embarrassment, you'll have discovered that Microsoft's pathetic excuse for a browser is, well, just that!
Thankfully, jQuery can provide the needed functionality with the following:
- $.inArray(value, Array)
jQuery.inArray(value, Array) or
ps: You could just use Firefox or any of the other self-respecting browsers...
pps: Comments and/or links to this article are most welcome!
Post a Comment