title: I want to manage refresh page interval from front end. Jquery
body: <p>I have a auto div refresh script which is made with jQuery. In this script have interval function also. I need to manage this interval from front end of page. Eg: <code>&lt;input type=&quot;text&quot; placeholder=&quot;Set your refresh timing&quot;&gt;</code></p>
  <p><code>setInterval(function() {             $(&quot;#div_refresh&quot;).load(&quot;load.php&quot;);         }, 1000);     });</code>.</p>
  <p>Here 1000 = 1 second. Users are managing this interval from front end from So users can set refresh interval as their wish.
  Please help..</p>
  <pre><code>$(&quot;#div_refresh&quot;).load(&quot;load.php&quot;);
          }, 1000)
  </code></pre>
  <p>Users are setting the refresh timing from front end in the input.<code>&lt;input type=&quot;text&quot;&gt;</code> Eg: <a href="https://prnt.sc/irq0dPMaSXPJ" rel="nofollow noreferrer">https://prnt.sc/irq0dPMaSXPJ</a></p>
  <pre><code>&lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js&quot;&gt;&lt;/script&gt;
      &lt;div id=&quot;div_refresh&quot;&gt;&lt;/div&gt;
      &lt;script type=&quot;text/javascript&quot;&gt;
       $(document).ready(function(){
          $(&quot;#div_refresh&quot;).load(&quot;load.php&quot;);
          setInterval(function() {
              $(&quot;#div_refresh&quot;).load(&quot;load.php&quot;);
          }, 1000);
      });
      &lt;/script&gt;
  </code></pre>