In this case, how can I execute a timeout before the fadeOut occurs? (Right where the comment is).
HTML
<button id="button"> Button </button>
<h1 id="one"> Test</h1>
CSS
#one {display:none;}
Javascript
$(document).ready(function(){
$("#button").click(function(){
$("#one").fadeIn('slow', (function(){
/* SetTimoeout */
$("#one").fadeOut('slow');
}));
})
});