Showing posts with label lowercase. Show all posts
Showing posts with label lowercase. Show all posts

Tuesday, 4 November 2014

How to lowercase of input field in onkeyup event?

Script Method:
<input type="text" id="ele" onkeyup="this.value=this.value.toLowerCase()" >
CSS Method:
Add style "text-transform:uppercase"
<input type="text" id="ele" style='text-transform:lowercase' >