Jquery – Allow special characters and spaces in text field
I have this text field where allowing only characters I want to allow special characters and space in the same onkeypress event. <input maxlength="30" class="form-control" type="text" maxlength="30" formControlName="Name" onkeypress="return (event.charCode > 64 && event.charCode < 91) || (event.charCode > 96…