title: How to select "this" element using JavaScript
body: <p>In this parent div with <code>id=textList</code>, I have multiple text boxes and every time they are generating in multiple numbers with same <code>class=txt</code>. I want to get the value of the box which one user has clicked in; basically I want to select the current clicked text box.</p>
  
  <pre><code>&lt;div id="textList"&gt;
      &lt;input type="text" class="txt" value=""&gt;
      &lt;input type="text" class="txt" value=""&gt;
      &lt;input type="text" class="txt" value=""&gt;
      &lt;input type="text" class="txt" value=""&gt;
  &lt;/div&gt;
  </code></pre>