<input type="number" id="example">
I can easily limit the set of the typed characters.
I don't want to prohibit the ctrl+v and mouse pasted inputs. Also, this field shouldn't accept any content. If the solution is using jQuery, it would also perfect.
In case of a pasted text is set into an input field, how can I validate it?
Aucun commentaire:
Enregistrer un commentaire