JavaScript Notification
Bind to the click event by type: jqxNotification. Author: http://jqwidgets.com
by jqwidgets
HTML
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<div id="jqxNotification">Sample notification</div>
<div id="log"></div>
JavaScript
$("#jqxNotification").jqxNotification({
width: "auto",
position: "top-right",
opacity: 0.9,
autoOpen: true,
autoClose: true,
template: "info"
});
$('#jqxNotification').on('click', function () {
$("#log").html("The click event is triggered");
});