Hi, I am using a jQuery modal box to show a status. I want to close the modal (not dialog) box after x seconds. Please help me on this. Thanks in advance
try this... $("#id").dialog('open'); setTimeout(function(){ $("#id").dialog('close'); },5000); // 5000 is 5 seconds Code (markup):