Answer the question
In order to leave comments, you need to log in
How to make a modal window call, when clicking on a link, inside the Yandex map balloon?
There is a site serv.1gb.ru
The task is to open a modal window when clicking on a link inside the map balloon.
If the link is outside the map, everything is fine, the window opens.
But if you place it inside the balloon, nothing happens
There are no errors in the console.
I create a label like this:
mark = new ymaps.Placemark([56.0486773, 93.0647211], {
balloonContentHeader: "У Никиты",
balloonContentBody: "ул. Карла Маркса дом 177, кв. 51",
balloonContentFooter: "<a href='#' idparam='2' class='zapis-create'>Записаться</a>",
hintContent: "У Никиты"
}
Answer the question
In order to leave comments, you need to log in
Check out the Maps API! Everything is described down to the smallest detail. Before asking questions, read the instructions or documentation!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question