Getting number of a clicked div - and out of dynamic written group of divs - in jQuery
<p>I have a html like shown bellow. What im trying to achieve is, after I click on a specific div, to get clean number out of that div(id) as a var in a jQuery. Just a number.</p>

<p>PHP is writing html like this.. ability to delete via label id jquery code is even more welcome (so ie. level does not need to be numerated). :s</p>

<pre><code>&lt;div id="level_1"&gt;aaa
  &lt;label id="del_1"&gt;Delete this post&lt;/label&gt;
&lt;/div&gt;

&lt;div id="level_2"&gt;bbb
  &lt;label id="del_2"&gt;Delete this post&lt;/label&gt;
&lt;/div&gt;
</code></pre>

<p>Something like level_1 (or del_1) to become var num = 1, level_2 (or del_2) to become var num = 2; and so on. You are free to change this html also to obey jQuery if necessary, or just to be more clean. Thx. </p>
