//Javascript Code
function changeColor(CheckBoxObj)
{
if (CheckBoxObj.checked == true) {
CheckBoxObj.parentNode.parentNode.style.backgroundColor='#88AAFF';
}
else
{
CheckBoxObj.parentNode.parentNode.style.backgroundColor='';
}
}
call it check box onclick event
onclick="changeColor(this);"
Tuesday, July 8, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment