Creates a modal dialog box

Creates a modal dialog box that displays the specified HTML document.

  • A modal dialog box retains the input focus while open. The user cannot switch windows until the dialog box is closed.
  • User have not option for minimize or maximize the popup window.
  • User can close the popup window.
  • It works in all browsers like IE, Firefox and Chrome


Create Modal Dialog Box
Dialog Height:


Create Modal Dialog Box <br />
Dialog Height:&nbsp;
<select name='oHeight'>
<input onclick="window.showModalDialog(
	'', '',
	'dialogHeight:' + oHeight.options[oHeight.selectedIndex].text 
	+ 'px;')" type="button" value="Push To Create" />

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>