Chat Bubble

JavaScript / jQuery

  • RSS
Viewing 1 to 2 (2 Total)
joint or connected drop down not working for when selected fro 2nd time

vikaspa

Total Posts: 2
Joined: Feb 2012

I have 2 combo's

1st having subject
(the subject table has no of chapters in that subject)

When a subject is selected, I want to generate / display another combo with number of chapters in that subject

In short, if subject Algebra has 10 chapters
the new generated combo will have values from 1 to 10

It works great for 1st selection.

however if i select Economics or another subject
Nothing happens
If Economics has 5 chapters
I expect the drop-down box to be generated / created with values 1 to 5

At present the values for 1st subject remains as it it is
change change of subject is not triggered by Jquery.

If i replace php program with text, the code works fine

Tags:
Posted on October 12, 2012 at 10:11 PM
Display Messages: Threaded     Flat
1 Reply

ElizabethKeen

Total Posts: 1
Joined: Jun 2014

re: joint or connected drop down not working for when selected fro 2nd time

I have jsut taken example of country and state dropdown. You just apply your logic and fit in the place.
http://www.infotuts.com/cascaded-dropdown-jquery-ajax-php/...

Hope it helps you.
For more visit us at:
http://www.ati-erp.com

Posted on June 18, 2014 at 12:31 PM