alex,
I did something similar in an other app and I just passed back a variable
and  did something like below:

return from php in successful deletion:
{success:true}

in javascript:

complete: function() {
eval('var arg='+ arguments[0])

if(arg.success == true){
// do true
$.blockUI('success', { border: 'none', width: '300px' });
setTimeout($.unblockUI, 10000);
}
else{
// do false
$.blockUI('failed', { border: 'none', width: '300px' });
setTimeout($.unblockUI, 10000);

}
}

the above is off memory so you may need to mess with it a bit.
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to