how to set the facebook style number notification?

I have a function named getnotification which is a json Ajax call.what i need is that the value returning from this Ajax call is “data.approvalSizelist”.This contains a value for the notification value,lets say “95” ,i want this value to be displayed as a notification number like we see in facebook,how can i do this?

     function getNotificationNumber(){
                dataType: "json",
                url: "retrieveApprovalNotificationNumber.action",
                data: null,
                success: function(data) {

                error: function() {

  • Approvals
  • I want to display the value in the top of approvals,how to do this?

    Source: json

    Leave a Reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.