标签:输入 one code ffffff disable cti isa 释放 property
$(function(){
$(‘input‘).on(‘input propertychange‘, function() {
if($.trim($(‘#money‘).val()) !== "" && $.trim($(‘#verCode‘).val()) !== ""){
$(‘#sub‘).css({"background-color":"#0077FF","color":"white","border":"none"});
$(‘#sub‘).prop(‘disabled‘,‘true‘);
} else {
$(‘#sub‘).css({"background-color":"#ffffff","color":"#777777","border":"1px solid #707070"});
$(‘#sub‘).prop(‘disabled‘,‘disabled‘);
}
});
});
标签:输入 one code ffffff disable cti isa 释放 property
原文地址:https://www.cnblogs.com/feng--yan/p/13339136.html