摘要:
HTML:<script type="text/javascript"> var oldrow=null; var currentcolor=null; var oldcolor=null; function selectx(row) { if(oldrow!=null) { oldrow.style.backgroundColor=oldcolor; } row.style.backgroundColor='#99ccff'; oldrow=row; oldcolor = currentcolor; } </script> .cs: 阅读全文