Hello all, I have the following code (which does not work)....
var childElmts; if (prntElmtID == 'P30_DESKTOP') { childElmts = $ ("#P30_DESKTOP_ADD,label[for='P30_DESKTOP_ADD']"); } else { childElmts = $ ("#P30_LAPTOP_ADD,label[for='P30_LAPTOP_ADD']"); childElmts += $("#P30_LT_OPTIONS").parent("td").children(); } How can I accomplish what I'm trying to do in the else block? Dan