There is a page on HTML

<tr id="call-Id" class="call-u"> <td >Id</td> <td>Name</td> <td>Contact</td> <td>Date</td> <td>Information</td> </tr> 

I get it AJAX request, but on the page on which I get it the attributes id="call-Id" class="call-u" are not saved, that is, at the output we get

 <table> <tr> <td>ID</td> <td>Name</td> <td>Contact</td> <td>Date</td> <td>Info</td> </tr> </table> 

as you can see, the attributes of the <tr> not saved.

such a script:

 function getdata() { var post = $.post("/Admin/getCalls") .success(processdata); } } function processdata(data) { var b = document.getElementById("calls-container"); var c = document.getElementById("xml-container"); al c.innerHTML = data; if (b.innerHTML != c.innerHTML) { b.innerHTML = data; var audio = new Audio('/Content/Sounds/ding.mp3'); audio.play(); } } 
  • you get some other table ... in the last td info in one version and in another information ... - Boris Runs
  • This is something I did not put in, by the way, somehow it worked - max619
  • it happens) it's good that everything fell into place) - Boris Runs
  • sorry, I wanted to help, but since I lack a reputation I could not comment ... - Boris will run
  • @ Boris is okay, converted the answer into a comment. Earn a reputation, just for 50 you will be able to comment) - Nick Volynkin

0