I want the .noti-content to open and show the update when the bell-icon is clicked.
This is where I am experiencing issue. The notification count works but when I click the bell-icon it doesn't show the updated data.
I appreciate in advance for your help.
$('span.noti').click(function (e) {
e.stopPropagation();
$('.noti-content').show();
var count = 0;
count = parseInt($('span.count').html()) || 0;
if (count > 0) {
updateNotification();
}
$('span.count', this).html(' ');
})