title: Visibility of text box depend on value of combo box
body: <p>I want to set visibility of a text box depending on the value of a combo box's selected value.
  This is my code:</p>
  
  <pre><code>&lt;table width="500" align="center"&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;span&gt; Name:&lt;/span&gt;&lt;/td&gt;
      &lt;td&gt;&lt;input name="name"  type="text" id="name" size="40" class=""/&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;span&gt;Email ID:&lt;/span&gt;&lt;/td&gt;
      &lt;td&gt;&lt;input name="email"  type="email" id="email" size="40" class=""/&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;span&gt;Select:&lt;/span&gt;&lt;/td&gt;
      &lt;td&gt;
        &lt;select id="edition"&gt;
          &lt;option value="none" selected&gt;----Select ----&lt;/option&gt;
          &lt;option id="1"&gt;A&lt;/option&gt;
          &lt;option id="2"&gt;B&lt;/option&gt;
        &lt;/select&gt;
      &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;&lt;span&gt;Number of Licenses&lt;/span&gt;&lt;/td&gt;
      &lt;td&gt;&lt;input type="text" id="licenseNo" size="5" value="30" /&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>I want the <code>licenseNo</code> text box visible if the value of combo box is B. I don't know how to do this.</p>