<dhcc:button typeclass="button3" value="保存" οnclick="checkCapRate()"
action="保存"></dhcc:button>
function checkCapRate() {
var cap_rate = document.getElementById("cap_rate").value;//投资比例
if (cap_rate<20) {
sAlert("资本金比例不能小于20%!");
}else{
document.operform.submit();
}
}