I\'m creating a web app...
i got a kind of game, my idea is when the user completes each level appears a dialog box with some information, it is fine.
Now my
You can't delay an append. You can only delay animations. You could use setTimeout or show the element initially hidden and then fade it in:
setTimeout
$('<div id="confirm" style="display:none"> ...') .appendTo(target) .delay(5000) .fadeIn(1000);