Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 140012

how to do dynamically select option

$
0
0

I have two select option 1.State and 2. City i have 2 state A,B and A(state) have 2 city a,b and B have city x,y ,now want to that when A is then show only A's city as well as for B state

<select class="form-control">
                      <option>A</option>
                      <option>B</option>
</select>  
<select class="form-control">
                      <option>a</option>
                      <option>b</option>
</select>  

Viewing all articles
Browse latest Browse all 140012

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>