```// SS1.0 function addNotification(notification...
# suitescript
j
Copy code
// SS1.0

function addNotification(notification_id, notification_title, notification_message, notification_type) {
		
	showAlertBox('notification_'+notification_id, notification_title, notification_message, notification_type);
	
}

function clearNotification(id) {
	
	// Remove this notification from the DOM.
	jQuery('.notification_'+id).remove();
	
}



// SS2.0
message.create({
	title: notification_title,
	message: notification_message,
	type: notification_type
});

// How to do clearNotification and target a particular message?