Hi,

JQuery (is new to me and) seems very good at querying the document
object and modifying it.

I am looking to create document fragments, assemble them, then insert
them into the document object.
eg, creating tables with variable contents and amounts of columns...

Is this a use case that JQuery is simply not designed for?
in other words, does JQuery require you to add all elements to the
document without prior nesting?

On a related note, how does JQuery allow you to nest append
statements?
Since chaining returns the parent element (matched by $), the
following statement obviously doesn't work as intended:
$("#result").append("<table/>").append("<tr/>").append("<td>")
Can this be rewritten to work?
(i have tried parenthesis grouping, however that was unsuccessful)

Tks!

Fred~

Reply via email to