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... 
<script>

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

var tReturnValue = printWindow; 

</script>
You can use the window.returnValue of the password.asp page to return the user input. 

Times Viewed: 3

Leave a Reply

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