How can i delay Dialog loading for like 2-3 sec
$("#dialog-model").dialog({
height: 250,
width: 350,
buttons: {
"Yes": function () {
window.location = "/MyURL";
},
"No": function () {
$(this).dialog('close');
}
},
modal: true
});
Use setTimeout