function stateSubmitBtn(data){
if(data.val == ''){
$('.button').addClass('lock');
}else{
$('.button').removeClass('lock');
}
}
$(".input").on("change keyup paste", function(e){
stateSubmitBtn(e.target);
})