How do you automatically set text box to Uppercase?

后端 未结 12 624
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-29 23:50

I am using the following style attribute to set the user input to uppercase so that when the user starts typing in the text box for example railway, then it should

12条回答
  •  猫巷女王i
    2021-01-30 00:14

    You've put the style attribute on the tag, instead of the .

    It is also not a good idea to have the spaces between the attribute name and the value...

     
    
    

    Please note this transformation is purely visual, and does not change the text that is sent in POST.

提交回复
热议问题