Hide delayed event canceled by removing event in jquery
I have a question on how to maintain one event with one action without being canceled on the next line from the code In this case, I don't want the delete action to override the hide behavior
It might be related to off category callbacks, but I'm not sure if I can use it in this case
the code under it is already in the callback with the load method
this is the code
$(".frmtbnote:last").submit(function(){
$(this).parents(".paneltbnote").animate({ opacity: 'hide' }, "slow");
$(this).parents(".wrappertbnote").remove();
$.post("tbnotesact.php",{
noteid: $tbnoteid,
action: "remove",
time: timestamp
}, function(xml) {
// do something
});
return false;
});
thanks richard
+1
Richard
a source
to share