.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Code Snippets >> JQuery >> Post New Resource Bookmark and Share   

 Subscribe to Code Snippets

Convert string into lowercase in JQuery

Posted By:JQuery Developer       Posted Date: May 17, 2013    Points: 40    Category: JQuery    URL: http://www.dotnetspark.com  

This code will show how to convert a given input string into lowercase using JQuery or Javascript.

Sometimes you need to make lower case of the user input value or string. Using JQuery its very easy all you need to call

toLowerCase() method of the string and it will convert the input string to all lower case;

Actually toLowerCase() is javascript funcation.

for example

var stringVal = "Hello World"
stringVal = stringVal.toLowerCase();

//result will be : hello world

toLowerCase() method is supported by all the major web browser.

if you want to convert input string into uppercase please refer below post

JQuery convert string into uppercase


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More code samples in C#, ASP.Net, Vb.Net and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend