conveert text to uppercase in input field
<input type="text" class="normal"
name="Name" size="20" maxlength="20"
style="text-transform:uppercase" />
conveert text to uppercase in input field
<input type="text" class="normal"
name="Name" size="20" maxlength="20"
style="text-transform:uppercase" />
capitalize input text html
//for angular
(input)="onInput($event)"
onInput(event) {
event.target.value = event.target.value.toLocaleUpperCase();
}
//for HTML
(onInput)="onInput($event)"
onInput(event) {
event.target.value = event.target.value.toLocaleUpperCase();
}
input uppercase with css
<input oninput="let p = this.selectionStart; this.value = this.value.toUpperCase();this.setSelectionRange(p, p);" />
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us