Appending command in java script
I was trying it but its not working for me ..
i have a command that gives out the command value which than passes to XML to map the particular controller to call.
looks like this ...
parent.data.document.UnifiedSysUserDetailDataForm.cmd.value;
but the problem is when i am trying to make it more flexible by getting value of "cmd" from array in script its not working out.
I have tried this.
try1 = parent.data.document.UnifiedSysUserDetailDataForm.cmd.value;
for(i = 0; i < test.length;i++)
{
var test1 = parent.data.document.UnifiedSysUserDetailDataForm ;
var try2 = test1. +test+ .value;
alert(try1+ "==" +try2 );
}
I want the value of try1 and try2 should be the same. But its printing value of try2 as "undefined"
can you suggest me some way i can get value.

