jQuery is cutting out stuff

jQuery is cutting out stuff

Hi,

i have a problem that is hard (for me) to debug.

I got a page 'a.html':
  1. <!DOCTYPE html>
  2. <html lang="de">
  3. <head>
  4. <title>das regt mich so auf</title>
  5. <script src="jquery.min.js"></script>
  6. <script>window.jQuery || document.write('<script src="jquery.min.js"><\/script>')</script>
  7. <script>
  8. function updateHTML(){
  9. $.get("/b.html", function(data, status){
  10. console.log(data);
  11. $("#ajaxBody").html(data);
  12. });
  13. }

  14. $(document).ready(function(){
  15. updateHTML();
  16. setInterval(function(){
  17. updateHTML();
  18. }, 30000);
  19. });
  20. </script>
  21. </head>
  22. <body>
  23. <div class="container-fluid main" id="ajaxBody">
  24. <img src="pics/loading.gif">
  25. </div>
  26. </body>
  27. </html>

And a page 'b.html':
  1. %blablabla%
  2. <table>
  3. <thead>
  4. <tr>
  5.  <th>headline0</th>
  6.  <th>headline1</th>
  7.  <th>headline2</th>
  8.  <th>headline3</th>
  9. </tr>
  10. </thead>
  11. <tbody>
  12. <tr>
  13. <td>reihe1</td>
  14. <td>reihe1</td>
  15. <td>reihe1</td>
  16. <td>reihe1</td>
  17. </tr>
  18. <tr>
  19. <td>reihe2</td>
  20. <td>reihe2</td>
  21. <td>reihe2</td>
  22. <td>reihe2</td>
  23. </tr>
  24. <tr>
  25. <td>reihe3</td>
  26. <td>reihe3</td>
  27. <td>reihe3</td>
  28. <td>reihe3</td>
  29. </tr>
  30. <tr>
  31. <td>reihe4</td>
  32. <td>reihe4</td>
  33. <td>reihe4</td>
  34. <td>reihe4</td>
  35. </tr>
  36. <tr>
  37. <td>reihe5</td>
  38. <td>reihe5</td>
  39. <td>reihe5</td>
  40. <td>reihe5</td>
  41. </tr>
  42. </tbody>
  43. </table>
  44. %blablabla%

Now, when I go to 'a.html' on my workstation (doesnt matter which browser), all comes out is this:
  1. %blablabla%
  2. <table>
  3. <thead>
  4. <tr>
  5.  <th>headline0</th>
  6.  <th>headline1</th>
  7.  <th>headline2</th>
  8.  <th>headline3</th>
  9. </tr>
  10. </thead>
  11. <tbody>
  12. <tr>
  13. <td>reihe1</td>
  14. <td>reihe1</td>
  15. <td>reihe1</td>
  16. <td>reihe1</td>
  17. </tr>
  18. <tr>
  19. <td>reihe2</td>
  20. <td>reihe2</td>
  21. <td>reihe2</td>
  22. <td>reihe2</td>
  23. </tr>
  24. <tr>
  25. <td>reihe3</td>
  26. <td>reihe3</td>
  27. <td>reihe3</td>
  28. <td>reihe3</td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. %blablabla%


It cuts out the last 2, 3 or 4 rows. The original table has 5 rows. But for whatever reason jquery is cutting out those rows. The stuff above and below the table is completly fine. Even in the JS console those rows are missing. On my android phone instead, the table is complete and no rows are missing. 

It is ridiculous and illogical. I dont know how to debug.

Any solutions for me?