Given this following sample code which clones a table row, sets some properties and then appends it to a table:
$(\"#FundTable\").append(
objButton.paren
How about:
$("#FundTable").append(
objButton.parents("tr").clone()
.find(".RowTitle").text("Row " + nAddCount)
.end()
.find(".FundManagerSelect").attr("id", "FundManager" + nAddCount)
.change(function() {
ChangeFundRow()
})
.end()
.find(".FundNameSelect").attr("id", "FundName" + nAddCount)
.end()
);
I find that chaining, when used in moderation, can lead to better readability.