Using javascript and jquery, to populate related select boxes with array structure

后端 未结 4 1185
日久生厌
日久生厌 2020-11-28 03:55

Using answers to this question, I have been able to populate a select box based on the selection of another select box. ( I posted my answer here) Pulling the data from an a

4条回答
  •  無奈伤痛
    2020-11-28 04:36

    You should take a look here for select box manipulation. For what you want, i think JSON will do the right job for you. Anyhow, if i were you, i will do this way: When I change first select, i do an ajax request. With ajax response, i will populate the second box. Same for second box and there you have the third box populated with right data.

提交回复
热议问题