title: Populate text box based on drop down selection
body: <p>I have this javascript function hoping to populate a textbox based on drop down selection. I am just using the first option (there are 7 more options, but this should illustrate the issue):</p>
  
  <pre><code>&lt;script&gt;
  function TicketsQuantity(){
    if (document.getElementByID("RaffleDollars").value == 25){
      (document.getElementById("RaffleTickets").value = "1");
    }
  }
  &lt;/script&gt;    
  </code></pre>
  
  <p>Here is the drop down box code:</p>
  
  <pre><code>&lt;select size="1" name="RaffleDollars" id="RaffleDollars" 
  onChange="javascript:TicketsQuantity();"&gt;               
  &lt;option selected value="0.00"&gt;------Select $ Amount------&lt;/option&gt;
  &lt;option value="25"&gt;25.00&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>Here is the text box code:</p>
  
  <pre><code>&lt;input name="RaffleTickets" size="5" id="RaffleTickets"&gt;
  </code></pre>
  
  <p>When I select 25.00 from the drop down box, it is not populating textbox with 1.  Is my syntax incorrect? Any help would be appreciated. Thanks.</p>