R
R
redd_i2021-03-19 16:33:30
JavaScript
redd_i, 2021-03-19 16:33:30

How to connect 2 scripts?

Hello. There is such a module for checking the address - https://yandex.ru/dev/maps/jsbox/2.1/input_validation/
The module is remarkable in that the form for entering the address is placed outside the map. But the map is not displayed without entering the address.
There is a second module for checking the address for getting into the delivery zone - https://yandex.ru/dev/maps/jsbox/2.1/delivery_zones/
This is the most suitable option. In it, the map is immediately displayed and there is a json file with data (tags + delivery zones) that are simply necessary. But the address entry form is tied to the map itself.

How can these two modules be connected? If possible of course

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question