I want to update this query after 5 sec , anyone help plz :  1. I want to update this query after 5 sec , for refreshing the div 
    
        function cart_count(){
        $.ajax({
          url : "functions.php",
          method  : "POST",
          data  : {cart_count:1},
          success : function(data){
            $(".badge").html(data);
          }
        })   }