/ Published in: JavaScript
this function returns if the passed string is shorter than the limit or not
when you press keys other than F5, backspace, or any arrow keys and the limit is reached it shows an alert.
use with isValueInArray function
when you press keys other than F5, backspace, or any arrow keys and the limit is reached it shows an alert.
use with isValueInArray function