我有一個表:郵政值
<table id="selectedInv">
<thead>
<tr class="alternate">
<th>
Barcode
</th>
<th>
OverAll Count
</th>
<th>
Transfer Count
</th>
</tr>
</thead>
<tbody>
<tr class="1">
<td> 2323 </td><td> 9 </td><td><input type="text" value="3"></td></tr>
<tr class="2">
<td> 2329 </td><td> 5 </td><td><input type="text" value="2"></td></tr>
<tr class="3">
<td> 2329 </td><td> 3 </td><td><input type="text" value="1"></td></tr>
</tbody>
</table>
按鈕後點擊我要收集數據,如
[{1,3},{2,2 },{3,1}]
凡在
[{A,b}]行的類名=,b =在此行中輸入文本值。
並將此數據發佈到操作方法,請執行此操作的最佳方法是什麼?
,向我們展示你試過我知道一種方法... – gdoron 2012-04-10 10:31:26
,我可以遍歷表,收集數據。但如何將這個數據傳遞給asp.net mvc action的方法? – loviji 2012-04-10 10:33:28