-1

Possible Duplicate:
How to change the input to uppercase as it is being typed

Is it possible to completely capitalize text of an input with JavaScript.

So basically as the user is typing the text in the input the text is being capitalized like this: CAPITALIZE

Can anybody show me an example on like a fiddle or something? Thanks

Community
  • 1
  • 1
henryaaron
  • 6,042
  • 20
  • 61
  • 80
  • The `text-transform` property will not change the static content, just restyle it, I was wondering how I can actually change the content – henryaaron Mar 07 '12 at 21:48
  • Do you know how to convert text to Upper Case in JavaScript? –  Mar 07 '12 at 21:50
  • Then the first step would be to search Google or StackOverflow for something like *"JavaScript convert text to Upper Case"*. –  Mar 07 '12 at 21:55

1 Answers1

2

you can use CSS by assigning to your textbox style , text-transform: uppercase;

Frenchi In LA
  • 3,139
  • 3
  • 25
  • 41