i would Like to stop auto refresh when i click on a specfic div this is how my code looks like at the moment
jquery.js
var documentInterval;
$(document).ready(function(){
  documentInterval setInterval(function(){
      $('#show_here').load('fetch_something.php')
  }, 3000);
});
$('#stop_auto_refresh').click(function(){
  clearInterval(documentInterval);
});
index.php
<div id="show_here"></div>
<div id="stop_auto_refresh" onclick="documentInterval()">Click To Stop Auto Refresh</div>
I would like to stop auto refresh when  click on the id stop_auto_refresh
is this possible ?
 
     
    