title: How to use select option in the c:choose statement
body: <p>I need to hide or show a combo depending on the value of the another combo, find my code below:</p>
  
  <pre><code>&lt;TR&gt;
      &lt;TD&gt;
          &lt;span &gt;Nazione&lt;/span&gt;&lt;br&gt;   
          &lt;select name="residence_nation" class="form_textfield" id="residence_nation" style="width: 300px;"&gt;
              &lt;c:forEach  var="iNation" items="${iListNation}" varStatus="rowCounter" &gt;
                  &lt;c:choose&gt;
                      &lt;c:when test="${iNation.id==iUserInfo.residence_nation}"&gt;
                          &lt;option value="${iNation.id}" selected="selected"&gt;
                              &lt;c:out value="${iNation.name}" /&gt;
                          &lt;/option&gt;
                      &lt;/c:when&gt;
                      &lt;c:otherwise&gt;
                          &lt;option value="${iNation.id}" &gt;
                              &lt;c:out value="${iNation.name}" /&gt;
                          &lt;/option&gt;
                      &lt;/c:otherwise&gt;
                  &lt;/c:choose&gt;
              &lt;/c:forEach&gt;
          &lt;/select&gt;
      &lt;/TD&gt;
      &lt;TD&gt;
          &lt;c:choose&gt;
              &lt;c:when
                  test="${residence_nation.???==106}"&gt;
                  &lt;span &gt;Provincia&lt;/span&gt;&lt;br&gt;
                  &lt;select name="residence_province" class="form_textfield" id="residence_province" style="width: 150px;"&gt;
                      &lt;c:forEach  var="iProvince" items="${iListProvince}" varStatus="rowCounter" &gt;
                          &lt;c:choose&gt;
                              &lt;c:when test="${iProvince.id==iUserInfo.residence_province}"&gt;
                                  &lt;option value="${iProvince.id}"&gt;
                                      &lt;c:out value="${iProvince.name}"/&gt;
                                  &lt;/option&gt;
                              &lt;/c:when&gt;
                              &lt;c:otherwise&gt;
                                  &lt;option selected="selected" value="${iProvince.id}"&gt;
                                      &lt;c:out value="${iProvince.name}" /&gt;
                                  &lt;/option&gt;
                              &lt;/c:otherwise&gt;
                          &lt;/c:choose&gt;
                      &lt;/c:forEach&gt;
                  &lt;/select&gt;
              &lt;/c:when&gt;
              &lt;c:otherwise&gt;
                  &lt;span&gt;Provincia&lt;/span&gt;&lt;br&gt;
                  &lt;input name="residence_province" type="text" class="form_textfield" id="residence_province_input" size="55" value="
                  &lt;c:out value="${iUserInfo.residence_province_ext}" /&gt;
                  " &gt;                                             
              &lt;/c:otherwise&gt;
          &lt;/c:choose&gt;
      &lt;/TD&gt;
  &lt;/TR&gt;
  </code></pre>
  
  <p>I don't know how to use residence_nation option value using JSTL.</p>
  
  <pre><code> &lt;c:when test="${residence_nation.???==106}"&gt;
  </code></pre>
  
  <p>find also my JavaScript</p>
  
  <pre><code>$("#residence_nation").change(function() 
           {
                if ($(this).val()!=106)
                    {
                    $('#residence_province').hide();                
                    $('#residence_city').hide();
                    $('#residence_province_input').show();
  
  
                    }else
                        {
                        $('#residence_province').show();                
                        $('#residence_city').show();
                        $('#residence_province_input').hide();
  
                        }
           });
  </code></pre>
  
  <p>Does anyone know how I can do that?</p>