日期:2014-05-16  浏览次数:20373 次

怎样将里面的input的值读出来,或者给input赋值
HTML code
<TABLE style="WIDTH: 920px; BORDER-COLLAPSE: collapse; WORD-WRAP: break-word; TABLE-LAYOUT: auto; HEIGHT: 52px" id=detail border=1 borderColor=buttontext>
<TBODY>
<TR>
<TD style="MIN-WIDTH: 15px; WORD-BREAK: break-all">
<P align=center>&nbsp;A</P></TD>
<TD style="MIN-WIDTH: 15px; WORD-BREAK: break-all">
<P align=center>&nbsp;B</P></TD>
<TD style="MIN-WIDTH: 15px; WORD-BREAK: break-all">
<P align=center>&nbsp;C</P></TD>
<TD style="MIN-WIDTH: 15px; WORD-BREAK: break-all">
<P align=center>&nbsp;D</P></TD>
<TD style="MIN-WIDTH: 15px; WORD-BREAK: break-all">
<P align=center>&nbsp;E</P></TD></TR>
<TR>
<TD style="MIN-WIDTH: 15px; WORD-BREAK: break-all">
<P align=center><SELECT style="WIDTH: 111px; FONT-FAMILY: ËÎÌå" id=field4 onchange=showDeps(this) mathrulescript tableType="1" level="2" enumId="-3"><OPTION selected value=10001>¼¼Êõ²¿</OPTION><OPTION value="">--ÇëÑ¡Ôñ²¿ÃÅ--</OPTION></SELECT></P></TD>
<TD style="MIN-WIDTH: 15px; WORD-BREAK: break-all">
<P align=center><INPUT style="FONT-FAMILY: ËÎÌå" id=field5 maxLength=50 mathrulescript tableType="1" level="2" enumId="0"></P></TD>
<TD style="MIN-WIDTH: 15px; WORD-BREAK: break-all">
<P align=center><INPUT style="FONT-FAMILY: ËÎÌå" id=field6 maxLength=50 mathrulescript tableType="1" level="2" enumId="0"></P></TD>
<TD style="MIN-WIDTH: 15px; WORD-BREAK: break-all">
<P align=center><INPUT style="FONT-FAMILY: ËÎÌå" id=field7 maxLength=50 mathrulescript tableType="1" level="2" enumId="0"></P></TD>
<TD style="MIN-WIDTH: 15px; WORD-BREAK: break-all">
<P align=center><INPUT style="FONT-FAMILY: ËÎÌå" id=field8 ondrop="return false" onkeyup="checkNumber(this,'10','2')" maxLength=50 mathrulescript tableType="1" level="2" enumId="0"><INPUT style="DISPLAY: none; FONT-FAMILY: ËÎÌå" id=field9 onkeyup="checkNumber(this,'10','2')" readOnly maxLength=50 mathrulescript tableType="1" level="1" enumId="0"><FONT style="FONT-FAMILY: ËÎÌå; COLOR: #000099; FONT-SIZE: 14px" id=field9_level_font></FONT></P></TD></TR>
<TR>
<TD style="MIN-WIDTH: 15px; WORD-BREAK: break-all" background="">
<P align=center><SELECT style="WIDTH: 111px; FONT-FAMILY: ËÎÌå" id=field4 onchange=showDeps(this) mathrulescript tableType="1" level="2" enumId="-3"><OPTION selected value=10001>¼¼Êõ²¿</OPTION><OPTION value="">--ÇëÑ¡Ôñ²¿ÃÅ--</OPTION></SELECT></P></TD>
<TD style="MIN-WIDTH: 15px; WORD-BREAK: break-all" background="">
<P align=center><INPUT style="FONT-FAMILY: ËÎÌå" id=field5 maxLength=50 mathrulescript tableType="1" level="2" enumId="0"></P></TD>
&