Link to home
Start Free TrialLog in
Avatar of searchsanjaysharma
searchsanjaysharma

asked on

How to make the textbox enable on click of radiobutton

<asp:radiobutton id="rageinmonths" Text="Months" id="agem" runat="server"/>
<asp:radiobutton id="rageinmonths" Text="Months" id="agem" runat="server"/>
<asp:label id="lblage" Text="" runat="server">
<asp:Textbox id="txtage" runat="Server" Text="" Enabled="false">

How to make the textbox enable on click on any radiobutton.
and the lblage to be assigned as "Age in Months" on click of rageinmonths and similarly for years.
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

u have 2 id attributes on each of the radio buttons.
also both are identical, have different ids for them.
ASKER CERTIFIED SOLUTION
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of searchsanjaysharma
searchsanjaysharma

ASKER

tx