Quantcast
Channel: Adobe Community : Unanswered Discussions - ColdFusion
Viewing all articles
Browse latest Browse all 5794

cfmessagebox error whatever parameters

$
0
0

Whatever parameters are used in the CfmessageBox,

I get that error :

 

buttonType attribute is valid only for messagebox type "confirm".

 

Running CF9.0

 

Example code:

<cfmessagebox name="PopMessage"
  callbackhandler="GrabUserInput"
  labelok="Check info"
  title="Warning!"
  icon="warning"
  type="alert"
  message="This is a message box"/>


<script type="text/javascript">
  ColdFusion.MessageBox.show('PopMessage');
</script>

 

Thanks for help.


Viewing all articles
Browse latest Browse all 5794

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>