Javascript dropdown list value issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bappadiit
    New Member
    • Aug 2010
    • 1

    Javascript dropdown list value issue

    I am not sure that what I name it but here is the details of what I want to do:

    There will be two or more dropdown lists, suppose first one contains faculty name and the 2nd one is course name. Whenever I will select the faculty from the 1st dropdown, I want the courses of that faculty will show in the 2nd dropdown list. And in 2nd dropdown every course will be different link with subpages and when it will go to the specific link, I want to show the dropdown list value to that faculty and course name in that page. And it should be works in all browsers.

    Can anyone pls help me about this issue...

    Thanks in advance
  • johny10151981
    Top Contributor
    • Jan 2010
    • 1059

    #2
    There is two different way you can achieve this.

    1. Using AJAX
    2. In the php file you can dynamically generate the javascript code that would change the course name in the second list or combo box on click of the first combo box or list box.

    In both case create both of the list box in the same form.

    Comment

    Working...