title: How to select all element with specific value and update the value using jquery
body: <p>I want to select all input elements with a specific value that the user enters on runtime in the input field and update the value on click of a button here is what I tried to accomplish this.</p>
  
  <pre><code>&lt;input type="text" class="test" &gt;
  &lt;button&gt;
  check value
  &lt;/button&gt;
  
  var button = $("button")
  
  button.on("click", function(){
        $("input[value='10']").val("100");
  })
  </code></pre>
  
  <p>But its not working <a href="https://jsfiddle.net/v3xLw4jd/3/" rel="nofollow noreferrer">here is link to the jsfiddle</a>.</p>