title: How to execute function after 10s idle time in jquery?
body: <p>Example:</p>
  
  <p>Actually how to execute a function each 10s if system idle.</p>
  
  <p>Example:</p>
  
  <pre><code>setInterval(function () {
           test();
           },10000); 
  //for every 10 Sec 
  </code></pre>
  
  <p>I am looking for 10s if system idle. Please help me to solve my problem.</p>