hey all i have a tabe with a td tag like this :
<td onclick='content(this)'>some text here</td>
and here i have a javascript that gets the html element (in my case the td) and shows me the text inside
function content(){
alert (this.innerHTML);
}
but i just can’t get it to work … what’s wrong with my codes please ?