I am looking for a way to clean/condense/improve the performance of my current snippet: input & output are already defined variables.
if (input.val().length <= 0) {
    output.attr('disabled', true);
} else {
    output.attr('disabled', false);
}
 
     
     
    