参考: http://blog.csdn.net/jacxuan/article/details/69421634
例子:
<div id="productdiv" style="margin: auto;height:500px;width:400px;">
<form action="product/getNumberAndUpdate" method="post" id="addProductForm" οnsubmit="return check()" >
<table>
<thead><h1 style="margin:80px">商品出库</h1></thead>
<tr>
<td>出库商品:</td>
<td>
<input name="product.id" class="product" id="productid" />
</td>
</tr>
<tr>
<td>数量:</td>
<td><input type="text" name="quantity" id="quantity" ></td>
</tr>
<tr>