I'm using the following:
var topWrapper = $('<div />')
.addClass( 'table-top-wrapper ui-corner-top ui-body-'+o.wrapperTheme )
.grid({ grid: this.options.grid })
.append(container)
.insertBefore(table);
and need to append x
children to this div
before calling .grid
.
Say x=3
is there a way to append x
number of child divs to the newly created div element in the chain? Somethingl Like a chainable for-loop
?
Thanks for insights!