[jQuery] Re: creating a table from an array

2008-01-19 Thread Wizzud
You have 2 very basic problems with your code: 1. Usage of append() The content you append() should be valid html in its own right. For example, your first append does $(this).append(''), when it should really be $(this).append('') which would insert a TABLE element as the last child of the elemen

[jQuery] Re: creating a table from an array

2008-01-19 Thread J Moore
Firebug shows you the HTML as it understands it. So if it doesn't look right, it usually means you are creating invalid HTML. The biggest problem with your example, is that you are calling append() repeatedly, and I don't think the elements are being inserted where you expect. What type of eleme