ciao ...vorrei sapere cosa sbaglio nel chiamare questa funzione
function giveMe(obj){
alert(document.getElementById(obj).value);
}
<input type="text" id="text" onmuoseover="giveMe(this.id)">
ciao ...vorrei sapere cosa sbaglio nel chiamare questa funzione
function giveMe(obj){
alert(document.getElementById(obj).value);
}
<input type="text" id="text" onmuoseover="giveMe(this.id)">