title: How to get the selected id of the div in jquery?
body: <p>i have three divs like that:</p>
  
  <pre><code>&lt;div id="1" &gt;id="1"&lt;/div&gt;
  &lt;div id="2"&gt;id="2"&lt;/div&gt;
  &lt;div id="3"&gt;id="3"&lt;/div&gt;
  </code></pre>
  
  <p>Now i want, when i click any of the div, jquery will get it id, i.e, if i click div 1, it will get 1 as its div id is 1.</p>
  
  <p>any help will be great.</p>
  
  <p>regards</p>