How to detect a certain HREF for every hyperlink
<pre><code>             $(document).ready(function(){
                $(".item_delete").easyconfirm({locale: {
                        title: 'Select Yes or No', 
                        text: 'Do you really want to delete this product?',
                        button: ['No','Yes']
                }});
                $(".item_delete").click(function(){
                    $(location).attr('href',$(this).attr("href"));
                });
            });
</code></pre>

<p>The above code is my code that I want to run but, it's not working for MULTIPLE links, maybe because the code can't figure out which HREF to choose.</p>

<pre><code>            &lt;a href="&lt;?php echo "index.php?module=account&amp;del_product=".$row['product_code']; ?&gt;" class="item_delete ui-icon ui-icon-trash"&gt;&lt;/a&gt;
</code></pre>

<p>If the links has a multiple href's like below, how the jquery detects the specific link that I clicked?</p>

<pre><code>             &lt;a href="index.php?module=account&amp;del_product=1"&gt;&lt;/a&gt;
             &lt;a href="index.php?module=account&amp;del_product=2"&gt;&lt;/a&gt;
             &lt;a href="index.php?module=account&amp;del_product=3"&gt;&lt;/a&gt;
             &lt;a href="index.php?module=account&amp;del_product=4"&gt;&lt;/a&gt;
             &lt;a href="index.php?module=account&amp;del_product=5"&gt;&lt;/a&gt;
             &lt;a href="index.php?module=account&amp;del_product=6"&gt;&lt;/a&gt;
</code></pre>

<p>I appreciate for your cooperation...</p>

<p>By the way, Im using this "Easy Confirm Dialog" plugin for jQuery - <a href="http://projectshadowlight.org/jquery-easy-confirm-dialog/" rel="nofollow">http://projectshadowlight.org/jquery-easy-confirm-dialog/</a></p>
