When the a-tag with the class “like” is clicked the event handler calls the function twice.
I tried all hints of an event bubbling post, but they didn’t work or were not me case.
$('.like').live('click', function(){
$.get($(this).attr('rel'), function(data)
{
$('.like').html(data);
});
return false;
});
Maybe you have some more possible solutions for me?
did you try this?: