title: Show Form Field if Drop Down Item is Selected Using jquery
body: <p>I'm trying to create a dropdown field where if the "Other" item is selected, then a "Please Specify" text box appears. The below works with just one dropdown select field, but as soon as I add the second select field, it no longer works.</p>
  
  <p>Here's what I have that doesn't seem to work:</p>
  
  <p>CSS...</p>
  
  <pre><code>#techother{display:none;}
  #lmsother{display:none;}
  </code></pre>
  
  <p>Body...</p>
  
  <pre><code>&lt;p&gt;Chose Your Browser: &lt;select name = "Browser" required&gt;
          &lt;option value = ""&gt;-- Select an Option --&lt;/option&gt;
          &lt;option value = "1"&gt;IE&lt;/option&gt;
          &lt;option value = "2"&gt;FF&lt;/option&gt;
          &lt;option value = "3"&gt;Safari&lt;/option&gt;
          &lt;option value = "4"&gt;Opera&lt;/option&gt;
          &lt;option value = "5"&gt;Other&lt;/option&gt;
          &lt;/select&gt;
      &lt;/p&gt;
    &lt;div id="browserother"&gt;
      &lt;p&gt;Please Specify: &lt;label id="browserlabel"&gt;&lt;input name="Other Browser" type="text" placeholder="Other Browser" size="50" /&gt;&lt;/label&gt;&lt;/p&gt;
      &lt;/div&gt;
  
      &lt;p&gt;Operating System: &lt;select name = "OS" required&gt;
          &lt;option value = ""&gt;-- Select an Option --&lt;/option&gt;
          &lt;option value = "Win"&gt;Windows&lt;/option&gt;
          &lt;option value = "ios"&gt;iOS&lt;/option&gt;
          &lt;option value = "otheros"&gt;Other&lt;/option&gt;
          &lt;/select&gt;
      &lt;/p&gt;
    &lt;div id="osother"&gt;
      &lt;p&gt;Please Specify: &lt;label id="oslabel"&gt;&lt;input name="Other OS" type="text" placeholder="Other OS" size="50" /&gt;&lt;/label&gt;&lt;/p&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>Script...</p>
  
  <pre><code>  &lt;script&gt;
  $('form select[name=Browser]').change(function(){
    if ($('form select option:selected').val() == '5'){
      $('#browserother').show();
    }else{
      $('#browserother').hide();
    }
  });
  
  $('form select[name=OS]').change(function(){
    if ($('form select option:selected').val() == 'otheros'){
      $('#osother').show();
    }else{
      $('#osother').hide();
    }
  });
  &lt;/script&gt;
  </code></pre>
  
  <p>Any way to make this work? Thanks!</p>