Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function update(port, account, pg) {
- $.get( "http://cloud.mytt.co.uk/backend/include/getinfo.php", { f: port + "-" + account + "-" + pg }).done(function( data ) {
- var currentData = $('#autoUpdate' + port).html();
- if(currentData != data) {
- $('#autoUpdate' + port).html(data);
- }
- setTimeout(update(port, account, pg), 1000);
- });
- }
- <script>update("'.$port.'","'.$account.'","'.$pagenum.'");</script>
- This translates to update("28500","Admin","1"); when the page is loaded.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement