Answer the question
In order to leave comments, you need to log in
How to substitute selects depending on a variable?
I keep trying to conquer the selects. Tell me how to do it so that if the variable is equal to "one" then show a certain list (which is taken from the data array), if it is equal to "two" then another list, etc. "four" "five" and what would all these values be taken from one array??
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question