SyntaxFix
Write A Post
Hire A Developer
Questions
Alternatively, you could use the jQuery 1.2 inArray function, which should work across browsers:
jQuery.inArray( value, array [, fromIndex ] )