Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. $("#tr1").load("include/test.php?page=1", Hide_Load());
  2.  
  3. $(window).bind('load', function () {
  4. var getid = $("td:first").text();
  5. function updatenewrow(getid) {
  6. $.ajax({
  7. type: "POST",
  8. url: 'test1.php',
  9. data: {id: getid},//only input
  10. success: function (response) {
  11. if (response > getid) {
  12.  
  13. $("#tr1").load("include/test.php?page=1");
  14. }
  15. }
  16. });
  17. }
  18. //setInterval(updatenewrow(getid), 4000);
  19. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement