JQuery live event binding prevents additional callbacks
- by Alex Ciminian
Hey!
I was building an AJAX listing of elements in my site, with the ability to delete them (also via AJAX). The following piece of code handles the deletion:
$('ul.action-menu a.delete').live('click', function () {
$.post($(this).attr('href'), function (data) {
var recvData = eval( '(' + data + ')' );
if ((recvData.status…