title: Jquery Select a tr by an hidden input field value inside a td
body: <p>I'm a beginner with jQuery language and I've got a question.</p>
  
  <p>I've got a Table in my website like this:</p>
  
  <pre><code>&lt;table id="filter-table" class="table table-striped"&gt;
    &lt;thead&gt;
      &lt;tr&gt;
        &lt;th&gt;Code&lt;/th&gt;
        &lt;th&gt;Name&lt;/th&gt;
        &lt;th&gt;Typology&lt;/th&gt;
        &lt;th&gt;Select&lt;/th&gt;
      &lt;/tr&gt;
    &lt;/thead&gt;
    &lt;tbody&gt;
      &lt;tr&gt;
        &lt;td&gt;IYCE8&lt;/td&gt;
        &lt;td&gt;NAME&lt;/td&gt;
        &lt;td&gt;
          &lt;input class='typology' type='hidden' value='1'&gt;TYPE1
          &lt;input class='typology' type='hidden' value='2'&gt;TYPE2
          &lt;input class='typology' type='hidden' value='3'&gt;TYPE3
        &lt;/td&gt;
        &lt;td&gt;
          &lt;input type="checkbox"&gt;
        &lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
        &lt;td&gt;IYCE9&lt;/td&gt;
        &lt;td&gt;NAME2&lt;/td&gt;
        &lt;td&gt;
          &lt;input class='typology' type='hidden' value='1'&gt;TYPE1
          &lt;input class='typology' type='hidden' value='2'&gt;TYPE2
        &lt;/td&gt;
        &lt;td&gt;
          &lt;input type="checkbox"&gt;
        &lt;/td&gt;
      &lt;/tr&gt;
    &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>as you can see rows have an hidden input associated to a typology (type1=>1).</p>
  
  <p>with a dropdown selector i choose a value:</p>
  
  <pre><code>&lt;select id="filter" name="filter"&gt;
    &lt;option value=""&gt;SELECT ONE&lt;/option&gt;
    &lt;option value="1"&gt;TYPE1&lt;/option&gt;
    &lt;option value="2"&gt;TYPE2&lt;/option&gt;
    &lt;option value="3"&gt;TYPE3&lt;/option&gt;
  &lt;/select&gt; 
  </code></pre>
  
  <p>With the event OnChange in a filter i want to select all the rows in the table that have the input field value = to the one selected in the dropdown</p>
  
  <p>How i can do this with Jquery?
  Thanks in advance for all the help</p>