How to make sure to display balloonContent clicking (ymaps)?

Do so scroll to the adras has worked and how to do so balloonContent also opened?
// html 
the <ul>
 <li data-map="Saint Petersburg" class="goto"><span>Saint Petersburg</span></li>
 <li data-map="Veliky Novgorod" class="goto"><span>Veliky Novgorod</span></li>
</ul>

//js 
ymaps.ready(init);

 function init() {

 var myMap;

 var destinations = { // to scroll through the cities
 // ... 
 'Saint Петербургwerrrtw' : [59.92234551,30.3166]
 'Veliky Novgorod' : [58.5609,31.3100],
 'Saint Petersburg' : [59.9251,30.3166]
},

 myMap = new ymaps.Map("regionMap", {
 center: [59.9251,30.3166],
 zoom: 9
});

//myMap.behaviors.disable('scrollZoom');

 myMap.controls.add("zoomControl", {
 position: {top: 15, left: 15}
});

 var myPlacemark65 = new ymaps.Placemark([ 59.92621012,30.26314598 ] , {
 balloonContent: 'Saint Petersburg jhh'
},
 { 
 iconLayout: 'default#image'
}
);
var myPlacemark66 = new ymaps.Placemark([ 59.88070345,30.30707359 ] , {
 balloonContent: 'Saint-Petersburg, St.m. "Electric power",'
},
 { 
 iconLayout: 'default#image'
}
);
myMap.geoObjects
.add(myPlacemark65)
.add(myPlacemark66);

 clickGoto function() {
 // city
 var pos = $(this).attr("data-map");
 // go to coordinates
 myMap.panTo(destinations[pos], {
 flying: 0.5
});

 return false;
}

 // hang handlers
 var col = document.getElementsByClassName('goto');
 for (var i = 0, n = col.length; i < n; ++i) {
//alert(col[i]);

 col[i].onclick = clickGoto;
}

}


____________________
if the scroll meets the panTo that is responsible for displaying of the balun?
June 26th 19 at 14:01
1 answer
June 26th 19 at 14:03
Solution
so
myPlacemark66.balloon.open();

Find more questions by tags jQueryJavaScript