ciao!
non ho messo codice perchè ho copiato esattamente quel codice della discussione.
solo che non esce nulla, quindi secondo me c'è qualcosa che non va:
codice:
function alertInnerHTML(e) {
e = e || window.event; //IE
alert(this.innerHTML);
}
function setFormAndamento() {
var theTbl = document.getElementById('tbl_and');
for (var i = 0; i < theTbl.length; i++) {
for (var j = 0; j < theTbl.rows[i].cells.length; j++) {
theTbl.rows[i].cells[j].onclick = alertInnerHTML;
}
}
}
cmq mi va benissimo anche jquery!!