Hi everyone,
I would like to set a label's text when a dropdownlist item is selected
I want the label to display the value of the item, not the text.
Is there any way i can do so without refreshing the page i found the update panel loads far too long for my liking.
Javascript ???
i would like to do this using attributes
ddBenefitPeriod.Attributes.Add("selectedIndexChanged", string.Format("{0}.innertext = {1}.options[{1}.selectedIndex].value; ", lblBenefitPeriodFactor.ClientID, ddBenefitPeriod.ClientID));
This does not work, can anyone give me some pointers please ??
Thanks in advance
:)