日期:2014-05-16 浏览次数:20346 次
<script type="text/javascript"> //增加条件 function addCondition(id,value){ alert("add"); document.getElementById(id).setAttribute("value", value); document.getElementById("Form").submit(); } //移除条件 function removeCondition(id,value){ alert("remove"); document.getElementById(id).setAttribute("value", null); document.getElementById("Form").submit(); } </script>
<form id="Form" > <input type="hidden" name="condition.Id" id="Id"> </form>