Adobe ColdFusion 8

Function summary

The following table briefly describes the JavaScript functions that you can use in ColdFusion pages that use AJAX features:

Function

Description

ColdFusion.Ajax.submitForm

Submits form data without refreshing the entire page when the results are returned.

ColdFusion.getElementValue

Gets the value of an attribute of a bindable ColdFusion control.

ColdFusion.Grid.getGridObject

Gets the underlying Ext JS - JavaScript Library object for the specified HTML format cfgrid control.

ColdFusion.Grid.refresh

Manually refreshes a displayed grid.

ColdFusion.Grid.sort

Sorts the specified HTML format grid.

ColdFusion.Layout.collapseArea

Collapses an area of a border layout (cflayout tag with a type attribute of border).

ColdFusion.Layout.createTab

Creates a new tab in an existing tabbed layout (cflayout tag with a type attribute of tab).

ColdFusion.Layout.disableTab

Disables the specified tab so it cannot be selected.

ColdFusion.Layout.enableTab

Enables the specified tab so users can select it and display the area contents.

ColdFusion.Layout.expandArea

Expands a collapsed area of a border layout.

ColdFusion.Layout.getBorderLayout

Gets the underlying Ext JS - JavaScript Library object for the specified border type cflayout control.

ColdFusion.Layout.getTabLayout

Gets the underlying Ext JS - JavaScript Library object for the specified tab type cflayout control.

ColdFusion.Layout.hideArea

Hides a bordered layout area.

ColdFusion.Layout.hideTab

Hides a tab.

ColdFusion.Layout.selectTab

Selects a tab and displays the layout area contents.

ColdFusion.Layout.showArea

Shows an area of a border layout that was hidden using the inithide attribute or the hideArea() function.

ColdFusion.Layout.showTab

Shows a tab that was hidden using the inithide attribute or the hideTab() function.

ColdFusion.Log.debug

Displays a debug-level message in the log window.

ColdFusion.Log.dump

Displays information about a complex variable in the log window.

ColdFusion.Log.error

Displays an error-level message in the log window.

ColdFusion.Log.info

Displays an information-level message in the log window.

ColdFusion.navigate

Displays the output of a link URL in a specified cfdiv, cflayoutarea, cfpod, or cfwindow container.

ColdFusion.setGlobalErrorHandler

Replaces the global JavaScript error handler for displaying information about ColdFusion AJAX errors.

ColdFusion.Tree.getTreeObject

Gets the underlying Yahoo YUI Library object for the specified HTML format cftree control.

ColdFusion.Tree.refresh

Manually refreshes a displayed HTML format tree.

ColdFusion.Window.create

Creates a ColdFusion pop-up window. Equivalent to the cfwindow tag.

ColdFusion.Window.getWindowObject

Gets the underlying Ext JS - JavaScript Library object for the specified HTML format cfwindow control.

ColdFusion.Window.hide

Hides a window

ColdFusion.Window.onHide

Specifies a JavaScript function to run each time a specific window hides.

ColdFusion.Window.onShow

Specifies a JavaScript function to run each time a specific window shows.

ColdFusion.Window.show

Shows a hidden window.