[jQuery] Problems with .load
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:
var agree=confirm("Do you really want to delete it?");
data: 'action=del_emp&e_id=' + $(this).attr("id"),
alert( msg );
alert("A: " + $('#employees').);
return false ;
Thanks in advance for any help as I'm completly lost.