title: How to FIX THIS SPAM AJAX CALL? i want only one show this reuest after click button
body: <p><img src="https://i.stack.imgur.com/Cu3Do.png" alt="please help me to stop his duplicate response, this my code[][1]"></p>
  
  <pre><code>var xhr = $.ajax({
        type: 'POST',
        url: '&lt;?php echo $action_show_notify?&gt;',//function url.
        cache:true,
        processData:true,
        global:false,
        dataType:"json",
          beforeSend: function()
          {
              $("#open_list").html('&lt;div class="text-center"&gt;&lt;img src="&lt;?php echo SITEURL;?&gt;/images/loading.gif" width="30px" height="30px"/&gt;&lt;/div&gt;');
              $('#callback_list').hide();
          },
          complete: function()
          {
              $("#open_list").fadeOut(200);           
          },
          success: function(data)
          {
              console.log(data);
  
          }                            
      });
  </code></pre>
  
  <p>thre times this problem<code>[Object, Object, Object, Object, Object, Object, Object, Object, Object]
  [Object, Object, Object, Object, Object, Object, Object, Object, Object]
  [Object, Object, Object, Object, Object, Object, Object, Object, Object]</code></p>
  
  <p>but i want this output like this, when i click everytime button
  [Object, Object, Object, Object, Object, Object, Object, Object, Object]</p>