title: Get the id of the clicked-upon div
body: <p>I want to select the <code>id</code> of the current div when I click on it in jQuery.<br>
  For example, say I have HTML like this:</p>
  
  <pre><code>&lt;div class="item"  id="10"&gt;hello world&lt;/div&gt;
  &lt;div class="item_10"&gt;hello people&lt;/div&gt;
  </code></pre>
  
  <p>When I click on the first div on <code>.item</code> class, I want to copy the <code>id</code> of the current div + adding to it the number (10), so it will be <code>("div id" + 10)</code> equal to the second dev class = item_10.</p>
  
  <p>I tried to use <code>currentid = this.id;</code> but it doesnt work :( ! </p>