title: remove hidden field based on hidden field value using jquery
body: <p>i would like to remove a hidden field from the form using jquery based on hidden field value.</p>
  
  <p>please look the below html:</p>
  
  <pre><code>&lt;input type="hidden" name="myvalue[]" value="value1"/&gt;
  &lt;input type="hidden" name="myvalue[]" value="value2"/&gt;
  &lt;input type="hidden" name="myvalue[]" value="value3"/&gt;
  </code></pre>
  
  <p>i have jquery function which returns me the above value example:</p>
  
  <pre><code>$('#getValue').click(function(){
  
    .... processing code here.....
  
    return valueOfHiddenField;
  });
  </code></pre>
  
  <p>now i would like to remove the hidden field from the form based on the value return by the <code>getValue</code></p>
  
  <p>so if the method returns me <code>value1</code> then any input hidden field in the form with value as <code>value1</code> should be removed. in this case the first input field of my html above.</p>
  
  <p>any help or suggestion would be a great help ... thanks in advance</p>