title: Increment input field value with jQuery
body: <p>I want every time when user enter number ,print the new one + old one in console</p>
  
  <p>here is html script</p>
  
  <pre><code> &lt;input type="number"value=""/&gt;
   &lt;button&gt;click&lt;/button&gt;
  </code></pre>
  
  <p>my jquery code</p>
  
  <pre><code>$("button").click(function (){
      var x = $("input").val();
      x+=x;
      console.log(x);
  });
  </code></pre>