jquery convert to uppercase on key up 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;
}