Original Post
I have the following (working) JQuery script;
and the cooresponding html:
Basically, by clicking 'delete', I delete a record out of my mysql database and re-list all links (records) inside the filecontainer div (script_deletecdfiles.php does the deleting, and echos the revised list). It works great on the first click.... but fails to recognize any future clicks. I'm sure this has to do with replacing the contents of filecontainer which calls my jquery function, but I'm not even sure how to start googeling for a work around to my problem. Thanks.
$(document).ready(function(){ $('.link_click').click(function(){ $("#filecontainer").load("script_deletecdfile.php", {proj: $(this).attr('id')} ); return false; });});and the cooresponding html:
Basically, by clicking 'delete', I delete a record out of my mysql database and re-list all links (records) inside the filecontainer div (script_deletecdfiles.php does the deleting, and echos the revised list). It works great on the first click.... but fails to recognize any future clicks. I'm sure this has to do with replacing the contents of filecontainer which calls my jquery function, but I'm not even sure how to start googeling for a work around to my problem. Thanks.