jQuery letter case conversion function: 1. [toLowerCase()] method is used to convert strings to lowercase; 2. [toUpperCase()] method is used to convert strings to uppercase.
The operating environment of this tutorial: Windows 7 system, jquery version 3.2.1. This method is suitable for all brands of computers.
jQuery letter case conversion function:
1,toLowerCase()
method is used to convert strings to lowercase.
Syntax
stringObject.toLowerCase()
Return value: a new string in which all uppercase characters of stringObject are converted to lowercase characters.
2,toUpperCase()
method is used to convert strings to uppercase.
Syntax
stringObject.toUpperCase()
Return value: a new string in which all lowercase characters of stringObject are converted to uppercase characters.
Related learning recommendations:js video tutorial
The above is the detailed content of What are the jQuery letter case conversion functions?. For more information, please follow other related articles on the PHP Chinese website!