Javascript

In javascript to Lowercase text to Lowercase letters there is a simple function

var string = "My Special STRING!";
var lowercaseString = string.toLowerCase();
alert(lowercaseString);
// it will return "my special string!"