input checkbox 提交form表单时候后台收到null

<input id="ispay" name="ispay" type="checkbox" value="${pd.ispay }" onchange="showChild();" <c:if test="${pd.ispay == 1}">checked="checked"</c:if> > input checkbox在onchange为未勾选时候经过js改变其值为0,可是没有勾选时候是不会
相关文章
相关标签/搜索