I have a question how to obtain the value of an element (the text within it) since apparently I do not achieve it with .value, .innerHTML, textContent and now I thought I would do it with target..but I do not solve it..someone could you help me ... thanks and thanks
document.getElementById("mano1").addEventListener("click",saludar);
document.getElementById("mano2").addEventListener("click",saludar);
function saludar(e){
alert("haz pulzado el tr"+ e.target.??);
}
<table>
<tr id="mano1">hola mundo1</tr>
<tr id="mano2">hola mundo2</tr>
</table>