Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $("#tr1").load("include/test.php?page=1", Hide_Load());
- $(window).bind('load', function () {
- var getid = $("td:first").text();
- function updatenewrow(getid) {
- $.ajax({
- type: "POST",
- url: 'test1.php',
- data: {id: getid},//only input
- success: function (response) {
- if (response > getid) {
- $("#tr1").load("include/test.php?page=1");
- }
- }
- });
- }
- //setInterval(updatenewrow(getid), 4000);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement