Jump to content

How to populate different list boxes upon the choice of a certain selection


superview

Recommended Posts

Hi to All!

 

I am just wondering how can i achieve this goal:

 

Suppose i have a list box in which i have <b>programe names</b>.

And the programe name values are coming from a table.

 

Now whenever a <b>programe name</b> is selected, for example. <b>BBA</b> then a new list box should appear with a query from a table, with <b>no of semesters</b>.

 

Now when a <b>semester</b> is selected, for example. for the programe BBA, <b>8th</b> semester is selected, then a new list box should appear with a query from a table, with <b>subject names</b>

 

And in the last when the Insert Values button is clicked all values from the list boxes should in the table.

 

So summary is: 1 list box is dependent on another and the root list box is Programe Name.

 

Hierarchy of list boxes is :

Programe Name > No of Semesters > Subject Names

 

I am new to ajax, i have completed the 1st step i-e whenever a programe name is selected the no_of_semesters list box is appearing with values.

Now i am stucked and wondering how to move forward.....

 

Any idea! How can i accomplish this task? or Any code example from which i can take help?

 

Thanks in Advance.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.