Here is a piece of code:
myMap.balloon.events.add('click', function (e) { //// }); According to it, I define a click inside the balun, I have a button inside it, when I click inside the balun, I need to determine in the script that there was a click on the button, generally use .hasClass or .attr
Or is it better to register onclick = "" in the tag of the button itself?