Live Chat Icon For mobile
Live Chat Icon

How to show Modal and Modeless dialog windows in Javascript?

Platform: ASP.NET| Category: Client Side Scripting

When you show a modal dialog the window remains on top of other windows until the user explicitly closes it.


window.showModalDialog('Test.html','dialogWidth:400px; dialogHeight:225px; status:no; center:yes');

When you show a modeless dialog the window remains on top of other windows, but you can still access the other windows.


window.showModelessDialog('Test.html','dialogWidth:400px; dialogHeight:225px; status:no; center:yes');

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.