Radio Button

davidlee's Avatar, Join Date: Mar 2007
Newbie Member
Good days,
I have a problem regarding the radio button. I give one example here. I have one page which consists of two parts. First part is Staff Information. The second part is selection part where to grab users selection.When users click on first radio button(Emergency),it will display a group of componenets regarding emergency. When users click on second radio button (Annual Leave),the Emergency components will disappear and (annual leave)second button will display a group of components regarding annual leave. All these functions are involved without refreshing a page.
So all i want is i hope Javascript to implement these functions. Server side is exclusive...

Thank you very much
pradeep's Avatar, Join Date: Apr 2005
Team Leader
I don't know about radio button, you can add the same functionality with a select box which would be much easier!