jquery click event is firing multiple times when using class selector
In my case, i had multiple tabs rendering the same partial and each partial had the $(document).ready() call which binded the click event thrice.
I had a similar problem and the solution for me was to unbind the click event before declaring the click event. Doesn't make much sense but I had no idea how the multiple events get attached to a single HTML element. ( and my HTML looked valid ;) )
$('.remove_lkc').unbind('click').click(function(){ ..........
If you close your <li>
tags, you'll fix the problem. I've just tested it, and that corrects it.
Should be
<li> ... </li>
<li> ... </li>
not
<li>
<li>