SyntaxFix
Write A Post
Hire A Developer
Questions
As to your bonus question, try if (jQuery.inArray(jQuery("input:first").val(), ar) < 0)
if (jQuery.inArray(jQuery("input:first").val(), ar) < 0)