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
Post a Comment