title: JQuery IF input value matches specific word in any letter casing
body: <p>I'm working on a few forms where people add data into a mysql database using JQuery validation and thought of an interesting question.  I was wondering how you would reject a specific word if written in lower or uppercase or any combination of the 2.  For example if I wanted to show an error if anyone entered the word "wordnumber1", "WordNumber1", "WoRdNuMbEr1", "WORDnumber1", etc, etc.  Here's an example format of the type of code I'm using:</p>
  
  <pre><code>if (word == "wordnumber1")
  {
    $('.wordStatus').html("Invalid Word").removeClass("success").addClass("error");
    wordok = false;
  }
  </code></pre>
  
  <p>I tried using indexOf() but that shows an error if you type in any character that matches</p>
  
  <p>Thank you</p>