What are the jQuery letter case conversion functions?

coldplay.xixi
Release: 2020-11-30 15:48:06
Original
1669 people have browsed it

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.

What are the jQuery letter case conversion functions?

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()
Copy after login

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()
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!