mercredi 1 mai 2019

How to block user type some characters to input?

I have a web app there is an input user can add some names in it but I don't want user to enter apostrophe ' sign. when user presses the ' sign html don't have to insert the character. I am new with html, also I have the js code file.

<div class="col-md-4">
        <input name="name" type="text"  class="form-control" placeholder="Name">
      </div>




Aucun commentaire:

Enregistrer un commentaire