title: OnType Javascript but want the type to match a word
body: <p>I am working on an input box for a promo code. We have several promo codes. However, on one promo code, if the user types in "springchicken", then I need it to open, or toggle an additional radio input for a selection. Is that possible? I am thinking I could use onType, but I don't really know how to write that. See example below. I need it to so something like that but the words that are typed must match "SpringChicken". How can I write that?</p>
  
  <pre><code> &lt;input type="text" name="promo" id="promo" value="" size="22" placeholder="Enter Promo Code"  ontype="document.getElementsByClassName('promoradio')[0].style.display='block';" /&gt;
  
   &lt;!--Need the following DIV to appear once "SpringChicken" is entered on the fly--&gt;
   &lt;div class="promoradio"&gt;
     &lt;input type="radio" name="promopkg" value="1" /&gt;&lt;label&gt;Promo Package #1&lt;/label&gt;
     &lt;input type="radio" name="promopkg" value="2" /&gt;&lt;label&gt;Promo Package #2&lt;/label&gt;
   &lt;/div&gt;
  </code></pre>