ALL
JavaScript showModalDialog method
In JavaScript, showModalDialog() method creates a simple modaldialog box which is a simple html page but when a modal dialog opens, user can't switch to another page until it closes the modal dialog box.Syntax: window.showModalDialog( url, arguments, feature options); Where url is the URL of page which is to be opened in modal window and argumentsare those arguments which we are passing to the modal window and featureoptionsare the attributes set for the modal window.Description of code:Suppose we have an image file and we want to view that particular image fileinto a separat...
10,598 0 JAVASCRIPT JS SHOWMODALDIALOG EXAMPLE