Change text to UpperCase using jQuery

Virendradugar
Posted by Virendradugar under jQuery category on | Views : 66682
This code will chnage the text of all the div element to UpperCase using JQuery. You need to download the Jquery file from http://docs.jquery.com/Downloading_jQuery .


<script type="text/javascript" src="Script/jquery-1.3.2.js"></script>

<script type="text/javascript">
$(document).ready(function(){
$("div").text("For this type jQuery found.");
$("div").text($("div").text().toUpperCase());
});
</script>


Enjoy..

Download latest jquery plugin for converting text to uppercase, lowercase, title case and pascal case.
http://jquerybyexample.blogspot.com/2011/12/jquery-plugin-for-uppercase-lowercase.html

Comments or Responses

Posted by: Virendradugar on: 10/6/2011 Level:Silver | Status: [Member] [MVP] | Points: 10
Similar article

http://jquerybyexample.blogspot.com/2010/09/jquery-code-convert-string-value-to.html
Posted by: Virendradugar on: 12/6/2011 Level:Silver | Status: [Member] [MVP] | Points: 10
Now you can also download latest jquery plugin for converting text to uppercase, lowercase, title case and pascal case.

http://jquerybyexample.blogspot.com/2011/12/jquery-plugin-for-uppercase-lowercase.html

Login to post response