I'm trying to display a Javascript error message if a certain range value is entered in a field. example: If the version entered is between 13.0.x to 13.8.5, an error message will be displayed. I'm trying the code below but it's not working. Any help would be greatly appreciated. Thank you
$('#custom_fields_1234').on('blur', function() {
$('.errorMessage').remove();
if ($(this).val().split('.')[0] < val => 13.0.0 && =< 13.8.5) {
$('.custom_fields_1234').append(errorMessage());
}