real time update using ajax php

Solutions on MaxInterview for real time update using ajax php by the best coders in the world

showing results for - "real time update using ajax php"
Nicola
18 May 2020
1    <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
2    <script>
3            $(document).ready(function() {
4                setInterval(function() {  // set Interval function to carry out same operation in the time specified
5                    $('#main').load('seminar-overview.php #main > *'); // Reloads 'seminar-overview.php' table every 6 seconds as <div> tag is specified and closed after table
6            }, 6000);
7                });
8    </script>
9