+ 1
How can i make a dynamic html select tag element
hey guys...i have some issues with html select tag..please help me to make a dynamic select element where by if i change a value on select element one the next automatically changes i.e,,i make a select element with options of continents where by if one picks asia the next select element gives only asian countries....or africa:african countries...using html and javascript please...i have tried all my methods but i get errors...thank you in advance fellow sololearners as you take over the world...
4 ответов
+ 1
https://code.sololearn.com/wnnMds04NuMW/?ref=app
you need something like this, so in nstead of my demo write ups, you can change the view to a select option with the defined order you wish.
0
can you show what you've tried?maybe then I can help
0
why not use objects instead of arrays or a multidimensional arrays?