Loading...

$('#group-quantity').parent().hover(function() { $(this).append('
You can bring up to 6 guests').css('text-align', 'right'); }, function() { $(this).find('span:last').remove(); $(this).find('br:last').remove(); }); $('input#group-quantity').on('focus', () => { if ($('input#group-quantity').val() > "6") { $('input#group-quantity').val("6"); } });