Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Confirmation Dialog
jQuery.sap.require("sap.m.MessageBox");
sap.m.MessageBox.confirm( 
	"Confirmation Message Text Goes Here?",
	function(evt){
		console.log("confirm evt:" + evt);
		if( evt=="OK" ){
			// Run your successful script here
		}
		else
		{
			//Pressed CANCEL, run cancellation code or do nothing
		}
	} 
);


Related articles


  • No labels