S
S
Sergey750il2021-04-14 15:24:00
JavaScript
Sergey750il, 2021-04-14 15:24:00

How to create JSON with cities and districts?

Good day. There are two selects. In one of the options there is a list of cities, in the other - areas of cities. When you select a city, a list of districts is loaded. There are no problems with loading, but I don’t know how to create such a JSON object correctly.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Zapunny, 2021-04-14
@evgzap

Download from here ready-made and format as you want, well, or use it from here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question