html--表格高亮显示
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <script type="text/javascript"> function changeColor(id,flag){ if(flag=="over"){ document.getElementById(id).style.backgroundColor="red"; }else if(flag=="out"){ document.getElementById(id).style.backgroundColor="white"; } } </script> </head> <body> <table border="1px" width="100px" height="100px" align="center"> <thead> <tr onmouseover="changeColor('t1','over')" onmouseout="changeC...




}
}