0
If I own a div
with id="banner-tooltips"
, and within it I have n <span>
tags declared in variables with javascript, how I can detect the individual click on these span
tags ?
var caixaTooltips = document.getElementById("banner-tooltips");
var tooltips = caixaTooltips.querySelectorAll("span");