Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

returnValue property

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

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



p = object.returnValue


Property values

Type: Variant

the value returned from the window.


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




© 2015 Microsoft