Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (inputValue > defaultMax) {
- alert('Введите число от ' + defaultMin + ' до ' + defaultMax);
- inputElement.focus();
- return;
- } else if (inputValue < defaultMin) {
- alert('Введите число от ' + defaultMin + ' до ' + defaultMax);
- inputElement.focus();
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement