php - I want to create a dynamic dropdown in loop -


my requirement display csv headers first element, each header, want map element elements appearing in drop-down. when first drop-down element selected, should dynamically populate second drop-down.

example csv has headers: first, second, third first drop-down has values: 1, 2, 3 based on 1: should second drop-down a, b based on 2: should second drop-down i, j based on 3: should second drop-down p, q i.e. first: (drop-down if 1 selected) (drop-down a, b) appears. problem getting done when not run on loop. when give loop populating csv header, automatically, send drop-down not appear.

any appreciated!


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -