In this programming tutorial we will learn how to convert strings in uppercase and lowercase using jquery. It is not a difficult task in jquery. Jquery has two built-in functions for handling these two cases. Those two functions are .toUpperCase() and .toLowerCase(). Let's have a look over the example given below that demonstrates how to do so.
Convert string in uppercase
Output
ADEEL FAKHAR
Convert string in lowercase
Output
adeel fakhar
So that's it. I hope you will find this tutorial very useful.
Stay tuned with nice-tutorials.blogspot.com for bundle of jquery tutorials.
I love your feedback.
var name="Adeel Fakhar";//Very simple var nameUpperCase=name.toUpperCase();
Output
ADEEL FAKHAR
Convert string in lowercase
var name="Adeel Fakhar"; var nameLowerCase=name.toLowerCase(); //Very simple
Output
adeel fakhar
So that's it. I hope you will find this tutorial very useful.
Stay tuned with nice-tutorials.blogspot.com for bundle of jquery tutorials.
I love your feedback.
0 comments:
Post a Comment