Damn it I was sure I had tried something like that ! :) And THANKS because it's working now, so for those who are interested and who will find this page, the winner is ...
var pdoptions = { target: '#pdresult', success:function() {fadeoutdiv('#pdresult1')} }; with function fadeoutdiv(div) { setTimeout(function(){ $(div).fadeOut('slow'); }, 1000); }; Big thanks to Wizzud and Richard for their help !