I was using the live() function:
live()
$(\'a.remove_item\').live(\'click\',function(e) {});
I needed to change this to one()>
one()>
Try this
$('a.remove_item').live('click', function(e) { if(!$(this).hasClass('clicked')) { $(this).addClass('clicked'); alert("dd"); // this is clicked once, do something here } });