Search
 
SCRIPT & CODE EXAMPLE
 

CSS

convert string to uppercase while typing

// Using JS
function uppercase(obj){
    obj.value = obj.value.toUpperCase();
}

// Using CSS
id_name {
	text-transform: uppercase;
}
Comment

change text to uppercase while typing

$(function() {
  $('input[type=text]').keyup(function() {
    this.value = this.value.toLocaleUpperCase();
  });
});
Comment

PREVIOUS NEXT
Code Example
Css :: css image background center horizontally in div 
Css :: css thinner hr 
Css :: font for css code google link 
Css :: a4 pagw size css 
Css :: select all class in css 
Css :: flex change order 
Css :: when hover target diffrent element 
Css :: html5 input required length 
Css :: dom ids have numbers 
Css :: bootstrap list 
Css :: css make text not break line when overflow 
Css :: margin top inline block css 
Css :: contenteditable new line 
Css :: css transition delay after hover 
Css :: input disabled remove css 
Css :: how to add space between image and text in css 
Css :: scrollbar not working 
Css :: why do we need hexadecimal number system 
Css :: how to set fallback font in css 
Css :: css animate border 
Css :: sass loops 
Css :: css margin right 
Css :: box-shadow left right and bottom 
Css :: how to stilize title property css 
Css :: css horizontal gradient background color 
Css :: css background 
Css :: scss percentage 
Css :: css align-items center 
Css :: png image background transparent css 
Css :: center div in div without flex with position absolute 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =