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.Autosuggest.getAutosuggestObject

Lets you access underlying YUI AutoComplete object thereby providing fine-grained control over the object, for example attaching an event.

ColdFusion.FileUpload.cancelUpload

Cancels the file upload at any point during the file upload.

ColdFusion.FileUpload.clearAllFiles

Clears all the files selected for upload.

Coldfusion.fileUpload.setUrl

Sets URL for the fileupload control dynamically.

ColdFusion.FileUpload.startUpload

Starts uploading the selected files.

ColdFusion.getElementValue

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

ColdFusion.grid.clearSelectedRows

Clears the selected rows in the grid.

ColdFusion.Grid.getBottomToolbar

Gets bottom toolbar that can be used to add a control, for example icon or button.

ColdFusion.Grid.getGridObject

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

ColdFusion.grid.getSelectedRows

Fetches data for the selected rows in the grid.

ColdFusion.Grid.getTopToolbar

Gets the top toolbar that can be used to add a control, for example icon or button.

ColdFusion.Grid.hideBottomToolbar

Hides the bottom toolbar that can be used to add a control, for example icon or button.

ColdFusion.Grid.hideTopToolbar

Hides the top toolbar that can be used to add a control, for example icon or button.

ColdFusion.Grid.refresh

Manually refreshes a displayed grid.

ColdFusion.Grid.refreshBottomToolbar

Refreshes the bottom toolbar that can be used to add a control, for example icon or button.

ColdFusion.Grid.refreshTopToolbar

Refreshes the top toolbar that can be used to add a control, for example icon or button.

ColdFusion.Grid.showBottomToolbar

Shows bottom toolbar that can be used to add a control, for example icon or button.

ColdFusion.Grid.showTopToolbar

Displays the top toolbar that can be used to add a control, for example icon or button.

ColdFusion.Grid.sort

Sorts the specified HTML grid.

ColdFusion.JSON.decode

Converts a JSON-encoded string into a JavaScript variable

ColdFusion.JSON.encode

converts a JavaScript variable into a JSON string.

ColdFusion.Layout.collapseAccordion

Collapses an area of an accordion layout.

ColdFusion.Layout.collapseArea

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

ColdFusion.Layout.createAccordionPanel

Creates a panel in an existing accordion layout (cflayout tag with a type attribute of accordion).

ColdFusion.Layout.createTab

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

ColdFusion.Layout.disableSourceBind

Disables the source bind.

ColdFusion.Layout.disableTab

Disables the specified tab so it cannot be selected.

ColdFusion.Layout.enableSourceBind

If disabled, enables the source bind.

ColdFusion.Layout.enableTab

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

ColdFusion.Layout.expandAccordion

Expands a collapsed area of an accordion layout.

ColdFusion.Layout.expandArea

Expands a collapsed area of a border layout.

ColdFusion.Layout.getAccordionLayout

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

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.hideAccordion

Hides an accordion.

ColdFusion.Layout.hideArea

Hides a bordered layout area.

ColdFusion.Layout.hideTab

Hides a tab.

ColdFusion.Layout.selectAccordion

Selects an accordion and displays the layout area contents.

ColdFusion.Layout.selectTab

Selects a tab and displays the layout area contents.

ColdFusion.Layout.showAccordion

Shows an accordion that was hidden using the inithide attribute or the hideArea() function.

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.Map.addEvent

Enables event handling in a map.

ColdFusion.Map.addMarker

Adds a marker to the map.

ColdFusion.Map.getLatitudeLongitude

Gets the latitude/longitude coordinates for a given address.

ColdFusion.Map.getMapObject

Gets the Google map component.

ColdFusion.Map.hide

Hides the map if displayed.

ColdFusion.Map.refresh

Reloads the map.

ColdFusion.Map.setCenter

Sets the center of map to the address that you specify.

ColdFusion.Map.setZoomlevel

Sets the zoom level of the map to the new value.

ColdFusion.Map.show

Shows the map if it is hidden.

ColdFusion.Mediaplayer.resize

Changes the current size of the media player.

ColdFusion.Mediaplayer.setMute

Mutes or unmutes the sound of the media player.

ColdFusion.Mediaplayer.setSource

Sets the URL of the FLV file.

ColdFusion.Mediaplayer.setVolume

Sets the volume of sound of the media player.

ColdFusion.Mediaplayer.startPlay

Plays the FLV file.

ColdFusion.Mediaplayer.stopPlay

Stops playing the FLV file.

ColdFusion.MessageBox.create

Creates a ColdFusion message box. Equivalent to the cfmessagebox tag.

ColdFusion.MessageBox.getMessageBoxObject

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

ColdFusion.MessageBox.isMessageBoxDefined

Checks if a message box is defined.

ColdFusion.MessageBox.show

Displays a ColdFusion message box.

ColdFusion.MessageBox.update

Updates message box properties.

ColdFusion.MessageBox.updateMessage

Updates the message property.

ColdFusion.MessageBox.updateTitle

Updates the message box title.

ColdFusion.navigate

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

ColdFusion.ProgressBar.getProgressBarObject

Gets the progress bar object.

ColdFusion.ProgressBar.hide

Hides the progress bar if it is displayed.

ColdFusion.ProgressBar.reset

Resets the progress.

ColdFusion.ProgressBar.show

Shows the progress bar if it is hidden.

ColdFusion.ProgressBar.start

Stops the underlying progress bar object that is running.

ColdFusion.ProgressBar.stop

Starts the underlying progress bar object.

ColdFusion.ProgressBar.update

Updates the attributes duration, interval, and oncomplete.

ColdFusion.ProgressBar.updatestatus

Lets you manually update the status and message of the progress bar.

ColdFusion.setGlobalErrorHandler

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

ColdFusion.Slider.disable

Disables the slider control.

ColdFusion.Slider.enable

Enables the slider control.

ColdFusion.Slider.getSliderObject

Gets the slider control.

ColdFusion.Slider.getValue

Gets the numeric value of the slider control.

ColdFusion.Slider.hide

Hides the slider control.

ColdFusion.Slider.setValue

Sets the numeric value of the slider control.

ColdFusion.Slider.show

Shows the slider control.

ColdFusion.Tree.getTreeObject

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

ColdFusion.Tree.refresh

Manually refreshes a displayed HTML 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 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.

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