On Aug 16, 4:20 am, Stephan Beal <[EMAIL PROTECTED]> wrote: > My guess is that when you create your <table> the TBODY is > automatically getting added to it (someone posted complaining about > that behaviour a few days ago), which means that your append(caption) > will fail and your append(tbody) is actually NOT working because the > tbody is already in the table when that is reached. But that's a > guess. Try inspecting the dom after you create the table, before you > append the caption/tbody.
PS: if that's the problem, try adding your caption using prepend() instead of append(). That may work around the problem of the automatically generated tbody.