Results 1 to 2 of 2

Thread: AJAX generated tables - messed up layout

  1. #1
    Join Date
    Sep 2009

    AJAX generated tables - messed up layout

    So I have a page with a table, and I am using AJAX to generate the table's content. The AJAX response returns XML with <tbody> and <tfoot> and all their underlying content... so all the JavaScript has to do is to append the <tbody> and <tfoot> from the XML response, as children to the <table> tag.

    I do that, but for some reason, the <tbody> contents, which are two <tr>'s, come out as one row in the table.

    Why would this happen? Shouldn't <tr>'s automatically come one under the other?


  2. #2
    Join Date
    Dec 2003
    Bucharest, ROMANIA
    Hard to say without seeing the code.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center