```
<form onsubmit="return CheckPost();" method="post" action="{:U('edit')}" class="form-horizontal " enctype="multipart/form-data">
</form>
```
```
function CheckPost (){
$("[disabled]").each(function() { //移除disable,后台方可取值
if (parseInt($(this).val()) != -1) {
$(this).attr("disabled", false);
}
});
}
```