Modal Dialog

[Total: 0    Average: 0/5]

This shows how to open up a modal dialog.

Body Code:

If you really need a modal dialog... 

var tWindowProp="dialogWidth:250px;dialogHeight:100px;center=yes;"; 
var printWindow=window.showModalDialog("/","",tWindowProp); 

var tReturnValue = printWindow; 

You can use the window.returnValue of the password.asp page to return the user input. 

Times Viewed: 5

Leave a Reply

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