nJDSK.alert


Creates a message box

nJDSK.alert(title, message, buttons)

Parameters

  • string title dialog title
  • string message dialog content
  • array buttons array of objects

Example

nJDSK.alert(
	'This is a test',
	'Test content',
	[
	 	{
	 		type:'ok_yes',
	 		value:'OK',
	 		callback:function(win){
	 			win.close();
	 		}
	 	}
	]
);