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

如何将table列表中的任意一条记录的值 放到text 输入框中?
列表


<table   cellpadding= "0 "   cellspacing= "1 "   border= "0 "   class= "pageTbl "   width= "100% "   id= "searchCondition "   style= "display:inline; ">
<tr>
<td   class= "insertTblTitle "   width= "14% ">
        行次: </td>
<td   class= "insertTblItem "   width= "36% "> <html:text   property= "vendorfax "   styleClass= "sysTxt "   maxlength= "32 "     />   </td>
</tr>
<tr>
<td   class= "insertTblTitle "   width= "14% ">
        产品号: </td>
<td   class= "insertTblItem "   width= "36% "> <html:text   property= "productno "   styleClass= "sysTxt "   maxlength= "32 "     />  
    <input   type= "button "   class= "sysBtn "   name= "btn122 "   value= "选择 "   onClick= "window.open( '../inc/PartChoice.html ', 'checkUser ',   'WIDTH=700,HEIGHT=520,RESIZABLE=yes,SCROLLBARS=yes,STATUS=0 ') "> </td>
</tr>
<tr>
<td   class= "insertTblTitle "   width= "14% "> 产品名称: </td>
        <td   class= "insertTblItem "   width= "36% "> <html:text   property= "productname "   styleClass= "sysTxt "   maxlength= "32 "     />  
        </td>
</tr>
<tr>
<td   class= "insertTblTitle "> 第一次扣分: </td>
            <td   class= "insertTblItem "> <html:text   property= "deductno "   styleClass= "sysTxt "   maxlength= "32 "     />  
    </td>
   
</tr>
<tr>
    <td   class= "insertTblTitle "> 季度累计   DEMIF: </td>
    <td   class= "insertTblItem "> <html:text   property= "seasontotal "   styleClass= "sysTxt "   maxlength= "32 "     />   </td>
    </tr>
<tr>
    <td   class= "insertTblTitle "> 年度累计   DEMIF: </td>
    <td   class= "insertTblItem "> <html:text   property= "yeartotal "   styleClass= "sysTxt "   maxlength= "32 "     /> </td>
    </tr>
<tr>
<td   class= "insertTblTitle "> 赔偿金额   : </td>
                <td   class= "insertTblItem "> <html:text   property= "total "   styleClass= "sysTxt "   maxlength= "32 "     />
         
</td>
   
</tr&g