Transform textfield data to uppercase while user is typing within the field - Javascript jQuery

Javascript examples for jQuery:Text

Description

Transform textfield data to uppercase while user is typing within the field

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <script type="text/javascript" src="https://code.jquery.com/jquery-1.9.1.js"></script> 
  <style id="compiled-css" type="text/css">

#id{//from w  w w. j  a v  a 2s .c o m
   text-transform:uppercase
}


      </style> 
 </head> 
 <body> 
  <input type="text" id="id" name="name" value="value">  
 </body>
</html>

Related Tutorials