J
joaotsetsemoita
Hello everyone,
I'm having troubles assigning an onclick event to a cell. Im trying
something like
cursorPoint.cells[3].style.cursor = "hand";
cursorPoint.cells[3].width = "20";
cursorPoint.cells[3].onclick = "alert('this is a test');"
cursorPoint.cells[3].alt = "Select the columns";
cursorPoint.cells[3].innerHTML = " "
Everything is just working fine except the onclick. I also tried:
cursorPoint.cells[3].click = "alert('this is a test');" (without the
"on") but also didnt work.
Any help would be much appreciated
Thanks in advance
Joao
I'm having troubles assigning an onclick event to a cell. Im trying
something like
cursorPoint.cells[3].style.cursor = "hand";
cursorPoint.cells[3].width = "20";
cursorPoint.cells[3].onclick = "alert('this is a test');"
cursorPoint.cells[3].alt = "Select the columns";
cursorPoint.cells[3].innerHTML = " "
Everything is just working fine except the onclick. I also tried:
cursorPoint.cells[3].click = "alert('this is a test');" (without the
"on") but also didnt work.
Any help would be much appreciated
Thanks in advance
Joao