|
6#
楼主 |
发表于 2008-5-21 13:21:15
|
只看该作者
单个的元素能取出来,但是我不知道要他一行一行的取是怎样取的,还请高人指点,
谢谢!
以下是那个表格的那段的代码:
<TD ID="mainbox" CLASS="mainbox" STYLE="padding-top: 10px" COLSPAN="2">
<DIV ID="mainx" STYLE="width: 100%; height: 100%; overflow-y: scroll; overflow-x: visible">
<TABLE WIDTH="100%" CELLSPACING="1" CELLPADDING="2">
<TR><TH><TH><A HREF='server.php?sort=name'>名称</A>↓<TH><A HREF='server.php?sort=ipaddr'>IP地址</A><TH><A HREF='server.php?
sort=systype'>系统类型</A><TH><A HREF='server.php?sort=logon'>登录方式</A><TH>动作</TR>
<TR><TD COLSPAN="6"><HR COLOR="#cccccc" SIZE="1"></TD></TR>
<TR CLASS='row1'><TD>1<TD>server201<TD>192.168.5.201<TD NOWRAP>General Unix<TD>ssh<TD><A HREF='server_edit.php?id=1'>编辑</A> <A
HREF='server_passwd.php?id=1'>密码管理</A> <A HREF='server_sshkey.php?id=1'>密钥管理</A>
<TR CLASS='row2'><TD>2<TD>server202<TD>192.168.5.202<TD NOWRAP>General Unix<TD>ssh<TD><A HREF='server_edit.php?id=2'>编辑</A> <A
HREF='server_passwd.php?id=2'>密码管理</A> <A HREF='server_sshkey.php?id=2'>密钥管理</A>
</TABLE>
</DIV> |
|