0
<form method="post" action="../SubCategory">
<div id="destinationFields">
//after the page loaded i will drag and drop some divs fromsourceFields by jquery plugin
</div>
<button type="submit" id="button">Add</button>
</form>
<div id="sourceFields">
<div>
<label class="control-label" id="label" for="Name">size:</label>
<input type="hidden" value="1" name="labelValue" />
</div>
<div>
<label class="control-label" id="label" for="Name">Brand :</label>
<input type="hidden" value="2" name="labelValue" />
</div>
<div>
<label class="control-label" id="label" for="Name">width:</label>
<input type="hidden" value="3" name="labelValue" />
</div>
</div>
這是如何加載頁面時,有一些元素(div的)從形式的更新HTML發送到sevlet(你可以看到,在sourceFields)如何將值從由JavaScript
我將會將其拖放到destinationFields但之後,我按下提交,並在sevlet的變化都沒有做 檢查(我認爲這意味着實際的HTML沒有改變)