i am facing similar problem at 2 places.
i have disabled some select boxes, and trying to enable them through program.
for(var i=1; i <= counter; i++)
// approach (1) does not work
frmSrcChg.all["cboClsRsn" + i].disabled = false;
// approach (2) works
frmSrcChg.cboClsRsn1.disabled = false;
frmSrcChg.cboClsRsn2.disabled = false;
frmSrcChg.cboClsRsn3.disabled = false;
frmSrcChg.cboClsRsn4.disabled = false;
any idea to make it work using approach 1?
similarly in another loop where i try to get value of selected item from list
var p = frmSrcChg.all["cboClsRsn" + i].options[frmSrcChg.all["cboClsRsn" + i].selectedIndex].text;
prints a string and not the value.