ShowModalDialog is deprecated by Chrome37, other suggestions?
1 answer
Do you have any code that you link? I can see that you tagged jQuery. So I'll give jQuery's answer.
You can use the following code to "open" or "show" the jquery dialog
$(divSelector).dialog('open');
$(divSelector).dialog({
autoOpen: false,
width: 200,
modal: true,
closeOnEscape: true,
draggable: false,
resizable: false,
buttons: {'Ok': function(){
$(this).dialog('close');
}}
});
.dialog ('open') will cause the dialog to open. I'm not sure how difficult it would be to wrap your div div in $ divSelector.dialog tags and include jQuery UI css and javascript in your application.
+2
source to share