0

I got my database table named as section_master with attributes id, section, sectiontype.
I have 3 radio buttons in sectiontype as
office
chamber
residence
I have created a select list for section.

When i wish to choose the radio button office.
i want to show only those sections in the select list who have their section type as office.

simultaneously same for chamber, residence.

Please help me out.

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by HarryJackson
0

I got my database table named as section_master with attributes id, section, sectiontype.
I have 3 radio buttons in sectiontype as
office
chamber
residence
I have created a select list for section.

When i wish to choose the radio button office.
i want to show only those sections in the select list who have their section type as office.

simultaneously same for chamber, residence.

Please help me out.

When you click on office from select list you should send the section type in the java script function which will decide which section to show.
function test(secType)
{
if(secType==office)
{
//show office section
}
else if(secType==chamber){
same as above
}
return false;
}

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.