i have 2 html tags, let name them A and B
Now suppose A tags got d, f, g
now suppose B tag is 'dependant' on A, example
if in A d is selected, B will have x, y , z
if in A e is selected, B will have H, i, j, k, l (notice the numuber of options difference)
How do i achieve this? i know one of the methods is to display the highest num of selection options(in this case, 5) and blank out(set to null) the values of the option when different option in A is selected but that would look unpresentable on the page.
Once the above problem is solve, then another question is related to above, suppose
how do i change the "apple", "orange", and "pear" when the option changes??
Forgive my English and Thanks in advance to those who will help me.
0 · ·