Thread
:
"Traffic light" html cells with javascript issue
View Single Post
02-05-2013, 10:47 AM
PM User
|
#
4
happybanana
New Coder
Join Date: Nov 2012
Posts: 13
Thanks: 2
Thanked 0 Times in 0 Posts
*slaps head* never mind ... just solved it
changing el.parentNode.cells[i].style.backgroundColor='';
to el.parentNode.cells[i].style.backgroundColor='white';
surprisingly solves it
happybanana
View Public Profile
Find More Posts by happybanana