代码如下:
<!-- 【程序编程相关:新手配置PHP调试环境】 【推荐阅读:NTFS文件系统特性概述】 all rights by lonsan on 2005 【扩展信息:绕过2003域中软件限制功能】 email:lonsan21@163.com --> <html> <head> <meta http-equiv="content-type" content="text/html; charset=gb2312"> <title>html中利用堆栈方式对table进行行排序</title> <style> body,table {}{}{}{ font-size:9pt; } .grid {}{}{}{ border:1 solid #6666ff; width:460; } .grid tr {}{}{}{ cursor:hand; } .grid td {}{}{}{ border:1 solid #6666ff; } </style> <script language="javascript"> <!-- function select(tr) { if(grid.selectedtr!=null) { grid.selectedtr.style.backgroundcolor=""; } grid.selectedtr=tr; tr.style.backgroundcolor="#ffcc00"; } function isselected() { if(grid.selectedtr==null) return false; ... 下一页