初始,部分输入框禁止输入:
$(document).ready(function(){
$("#fundCode").prop("disabled",true);
$("#convertFundCode").prop("disabled",true);
$("#allowtradeVol").prop("disabled",true);
$("#appVol").prop("disabled",true);
$("#passwd").prop("disabled",true);
$("#confirmBtn").prop("disabled",true);
if($("#custType2").val() == null || $("#custType2").val() == ""){
$("#selectBtn").prop("disabled", true);
}
});
当点击按钮之后,鼠标移出按钮,部分输入框允许输入,并且另一部分禁止输入:
$("#selectBtn").click(function(){
$("#selectBtn").mousemove(function(){
$("#appVol").prop("disabled", false);
$("#fundCode").prop("disabled", false);
$("#adviserCode").prop("disabled", false);
$("#convertFundCode").prop("disabled", false);
$("#passwd").prop("disabled", false);
$("#selectBtn").prop("disabled", true);
$("#riskLevel").prop("disabled", true);
$("#financeAcc").prop("disabled", true);
$("#custType").prop("disabled", true);
$("#accNo").prop("disabled", true);
}
});
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)