Whatever message this page gives is out now! Go check it out!

ColdFusion.MessageBox.show

Last update:
May 18, 2026

Description

Used to display a ColdFusion message box.

Function syntax

ColdFusion.MessageBox.show(name)

See also

History

ColdFusion 9: Added this function

Parameters

Parameter
Description
name
Name of the message box that you want to display.

Returns

This function does not return a value.

Usage

You can create a messagebox using the cfmessagebox tag or the JavaScript function ColdFusion.MessageBox.create. But to show it, you must use this function.

Example

<cfajaximport tags="cfmessagebox,cfform"> 
 <cfform name="ajax"> 
 <br><input type="button" name="showMessageBox" value="Show Message Box" onClick="ColdFusion.MessageBox.create('mb','Alert','ALERT','Sample Alert!');ColdFusion.MessageBox.show('mb');"> 
 </cfform>

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page