Create a Custom Alert Box in Javascript using ShowModalDialog

This tutorial is about creating a Custom Alert Box in JavaScript. This tutorial will explain how to create a custom alert box in JavaScript using showModalDialog()/Open() function. Difference between ShowModalDialog() and window.open() Method: Return type of Window.open() method is an Object, where as Window.showModalDialog() method return type is a value. If you want to get […]