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.

Code:
Create Modal Dialog Box <br />
Dialog Height:&nbsp;
<select name="oHeight">
<option>200</option>
<option>300</option>
<option>400</option>
<option>500</option>
</select>&nbsp;&nbsp;
<input onclick="window.showModalDialog(
'http://dotnet.isummation.com/author/amit.aspx', '',
'dialogHeight:' + oHeight.options[oHeight.selectedIndex].text
+ 'px;')" type="button" value="Push To Create" />

Advertisements

About Amit Prajapati

I am computer Engg. and I am freelancer. I am working on .net technology and I can developed both web as well as window applications. View all posts by Amit Prajapati

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: