I have a simple spam trap that asks users to type the color of something, currently the validation code is:
      if (theForm.color.value != "blue")
  {
    alert("Please Type The Color");
    theForm.color.focus();
    return (false);
  }
Unfortunately, this will return false if a user uses caps like Blue or BLUE. Is there a simple way to add acceptable values such as;
 if (theForm.color.value != "blue" "Blue") 
or
 if (theForm.color.value != "blue, Blue, BLUE")
Side Note: I'm unfamiliar with this language, what books would you suggest to get me started?
 
     
    