JavaScript TD Multichange

TD Multichange

<script>

function shit(a,b,c) {
  a.style.backgroundColor = c;
  b.style.backgroundColor = c;
}
</script>

<TABLE bgcolor=red cellSpacing=1 cellPadding=0 width=500>

<TR onMouseOver="shit(x1,y1,'f1f1f1');" onMouseOut="shit(x1,y1,'');">

<TD id='x1'>1</TD>

<TD id='y1'>2</TD>

</TR></TABLE>