returnValue property

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
11 out of 22 rated this helpful - Rate this topic

Sets or gets the value returned from the modal dialog window.

This property is not supported for Windows Store apps built for Windows using JavaScript.

Syntax

JavaScript

p = object.returnValue

Property values

Type: Variant

the value returned from the window.

Remarks

This property applies only to windows created by using the showModalDialog method.

For event handler functions, the value of this property takes precedence over values returned by the function, such as through a return statement.

See also

window

 

 

Send comments about this topic to Microsoft

Build date: 11/21/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.