Forum Moderators: open

Message Too Old, No Replies

Setting table row colour on checkbox select

         

lxndr

7:55 pm on Feb 22, 2006 (gmt 0)

10+ Year Member



Edit: resolved

prasanth jvrs

8:53 am on Feb 24, 2006 (gmt 0)

10+ Year Member



Hi

Hope this code helps. row1 is the id of the row to be highlighted.

var colourleft="blue";

document.getElementByID('row1').style.background=colourleft;

Thanks
Prasanth