make character uppercase while typing code example
Example: convert string to uppercase while typing
// Using JS
function uppercase(obj){
obj.value = obj.value.toUpperCase();
}
// Using CSS
id_name {
text-transform: uppercase;
}
// Using JS
function uppercase(obj){
obj.value = obj.value.toUpperCase();
}
// Using CSS
id_name {
text-transform: uppercase;
}