Convert lowercase letter to upper case in javascript

后端 未结 6 1799
温柔的废话
温柔的废话 2021-01-01 14:45

I have a code that will convert lower case letters to uppercase but it works only with IE and not in Crome or Firefox.

function ChangeToUpper()
  {         
         


        
6条回答
  •  渐次进展
    2021-01-01 15:24

    If you don't want to make an explicit JavaScript function, here you can do it in just one line:

    Convert to lower and upper case respectively:

    
    
    

提交回复
热议问题