jquery-bootstrap-modal-steps
jquery-bootstrap-modal-steps copied to clipboard
How to disable the next button when the input field is empty
Hi,
How to disable the next button when the input field is empty and show the validation message
//onkeyup if(field is empty){ //show validation $('#goal-setting-modal').find('.js-btn-step[data-orientation=next]').attr('disabled', true); }else{ $('#goal-setting-modal').find('.js-btn-step[data-orientation=next]').attr('disabled', false); }