I need to convert this code which uses a dropdown list to a label. How do i go about it ?
instead of ddlage.options.length and the other 2 occurences, how do i set it to pick the value to a label, as i change the control from a dropdown box to a label
for (var i=0; i< ddlage.options.length ; i++)
if ( ddlage.options[i].value == age )
ddlage.options[i].selected = true;