When i add it and pm myself and it count as 2 pm but i got 1 pm on my inbox
here the code
If you guy know anything about this
I cant post anywhere on web section so i have to post here
here the code
- Code:
$.ajax({
url: '/privmsg?folder=inbox',
success: function(ajax) {
count = $('img[src="http://2img.net/i/fa/empty.gif"]', ajax).length;
if (count < 1) {
$('a.mailbox').html('Mailbox');
}
else {
$('a.mailbox').html('Mailbox ('+count+')');
}
}
});
If you guy know anything about this
I cant post anywhere on web section so i have to post here