Click here to Skip to main content
15,921,793 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Experts,

I have a rediobuttonlist which contains 4 items, 'Allusers', 'Users', 'Groups', 'noaccess'.

when i select 'Users' option then listbox will appear.
how to do this in javasript.

please help.
Posted

1 solution

You need to set a javascript method call inside the required radiobutton click event.

Alt: You can use JQuery to do it easily - give the radiobutton a name and tie it using jquery with it`s click event to some action - something like this:

$('#radioButtonName').click(function(){
// do something
$('#usersListBox').show();
});
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900