By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,761 Members | 1,129 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,761 IT Pros & Developers. It's quick & easy.

javascript and radiobutton list

P: 3
how to ensble a disabled radiobuttion list thru javascript
there are three listitem in javascript
hoe to enable these three thru javascript
Feb 5 '07 #1
Share this Question
Share on Google+
3 Replies

acoder
Expert Mod 15k+
P: 16,027
Please post your code. How far have you managed to get with this?

Here is a link which will help you.
Feb 5 '07 #2

P: 3
[have 3 listitem in RadioButton list

Expand|Select|Wrap|Line Numbers
  1. <asp:RadioButtonList ID="rbOperator" runat="server"  Enabled=false  RepeatDirection="Vertical" Height="160px" AutoPostBack="True" OnSelectedIndexChanged="rbOperator_SelectedIndexChanged">
  2.                                         <asp:ListItem >Arithmetic</asp:ListItem>
  3.                                         <asp:ListItem >Relational</asp:ListItem>
  4.                                         <asp:ListItem >Logical</asp:ListItem>
  5.                                     </asp:RadioButtonList>

I want to enable the list item thru javascript



Expand|Select|Wrap|Line Numbers
  1. document.getElementById(rbOperator).disabled=false;
Feb 5 '07 #3

acoder
Expert Mod 15k+
P: 16,027
This page might help.
Feb 5 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.