Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
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 · ·