uniquely identify click and execute once
<pre><code>&lt;div id = uni1&gt;
        &lt;input type=button class=click rel="1"&gt;
&lt;/div&gt;
&lt;div id = uni2&gt;
        &lt;input type=button class=click rel="2"&gt;
&lt;/div&gt;
&lt;div id = uni3&gt;
        &lt;input type=button class=click rel="3"&gt;
&lt;/div&gt;
&lt;div id = uni4&gt;
        &lt;input type=button class=click rel="4"&gt;
&lt;/div&gt;

$(".click").click(function()
{
    alert("Help");
})
</code></pre>

<p>i have problem identifying the click button for jquery this will prompt alert 4 times.
"#uni1 .click" will allow me to identify 
BUT I CANNOT static DEFINE this.
MEAN i can only use .click. because MY uni1 &lt;-- is DYNAMIC i can have up to uni100.
or Uni10000(This is User Choice to have number of uni)</p>

<p>my question would be how am i going to identify uniquely each button for each input type.
after the button is click i can use</p>

<pre><code>$(".click").click(function()
{
    $(this).parent().attr('id');
//it doesn't solve the problem that alert will still be executed 4 times. i want to have click being uniquely identify upon user click.
    alert("Help");
})

&lt;div id=uni&gt;
    &lt;div id = uni1&gt;
            &lt;input type=button class=click rel="1"&gt;
    &lt;/div&gt;
    &lt;div id = uni2&gt;
            &lt;input type=button class=click rel="2"&gt;
    &lt;/div&gt;
    &lt;div id = uni3&gt;
            &lt;input type=button class=click rel="3"&gt;
    &lt;/div&gt;
    &lt;div id = uni4&gt;
            &lt;input type=button class=click rel="4"&gt;
    &lt;/div&gt;
&lt;/div&gt;

$("#uni"+i).load(abc.html,function(){ $(".click").click(funcion(){ alert("help");})})
</code></pre>
