Description

Destroys a window instance

Function syntax

ColdFusion.Window.destroy(windowName[, destroyElement])

See also

cfwindowColdFusion.Window.createColdFusion.Window.getWindowObjectColdFusion.Window.onHideColdFusion.Window.onShowColdFusion.Window.showColdFusion.Tree.getTreeObjectUsing pop-up windows in Using Ajax form controls and features in the Developing ColdFusion Applications

History

ColdFusion 8 update 1: Added this function

Parameters

Parameter

Description

windowName

The name of the window to destroy

destroyElement

A Boolean value specifying whether the HTML element associated with the window should also be destroyed. The default value is false.

Returns

This function does not return a value.

Usage

Use this function to destroy a window instance. ----

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy