Thursday, 22 October 2015

How to convert the whole string to capital letter in Javascript


How to convert the whole string to capital letter in Javascript ?
toUpperCase--is use for making a string to capital letter
var str="This is a technical blog"
str=str.toUpperCase()
alert(str)
will show "THIS IS A TECHNICAL BLOG"

No comments:

Post a Comment

Interactive CSS Button Designer Tool – Free & Fast

What is Button ?                               Button  is an element of HTML. HTML is used to design Web Page and Website and Web applicatio...