Hi, I'm new to jQuery and I'm having some problems, so I turn to the pros. I try to do an ajax submit, that for example erase an entry from a database, all goes well, but when I use $ ('#employees').load("empinc.php"); to reload the employees info, and then try to use another .click event, to erase an entry (or do any other .click event) the event listener does not pick up the event and follows the link to other page (one that is stoped with return false if everything works ok).
Here is some of the code: $('a.del-emp').click(function(){ var agree=confirm("Do you really want to delete it?"); if (agree){ $.ajax({ type: "GET", url: 'employ.php', data: 'action=del_emp&e_id=' + $(this).attr("id"), success: function(msg){ alert( msg ); $('div.add_employ_id').toggle("fast"); alert("A: " + $('#employees').); $('#employees').load("empinc.php"); } }); } return false ; }); Thanks in advance for any help as I'm completly lost.