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


Top 5 Contributors of the Month
david stephan

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

 Subscribe to Code Snippets

JQuery convert string into uppercase

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

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


When you need to convert string value to all upper case characters you can use toUpperCase() method of string. using JQuery

you can convert the input to all caps like below example

var stringVal = "my String VALUE"
stringVal = stringVal.toUpperCase();

// the result will be : MY STRING VALUE

toUpperCase() method is javascript method and supported by all major web browser.

to convert input string into lowercase please refer this post

Convert string into lowercase in JQuery


     

Further Readings:

Responses

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