VBdotnet2005
asked on
check value in Javascript
Is this the rigth way of create a function in js? I want to add a condition. If value_1 = 'YES" then check box, if not leave it blank.
function GetNameValue1(value_1) {
if ((value_1[2].value == "YES")) {
ASPxCheckBox_l_default.SetChecked(true);
}
else {
ASPxCheckBox_l_default.SetChecked(false);
}
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.