In an html input box the max length attribute prevents the user from typing more than a certain number of characters. How can I achieve something like this using only jquery. And unlike the max length attribute this should also work in a textarea.
In an html input box the max length attribute prevents the user from typing more than a certain number of characters. How can I achieve something like this using only jquery. And unlike the max length attribute this should also work in a textarea.