title: How to call function inside itself
body: <p>I have a function that I want to call again inside, after the last line finishes.</p>
  
  <p>Maybe it will be more understandable if I show code.</p>
  
  <pre><code>function updateQuantity(){ 
      // further code where I change same data
      // and now I want to start function again but with remembering the input element that called it previously 
      updateQuantity(this);  // I tried it this way but it doesn't work
  }
  </code></pre>
  
  <p>Any idea?</p>