showing results for - "first letter capital in jquery"
Amelia
01 Aug 2017
1// Define function to capitalize the first letter of a string
2function capitalizeFirstLetter(string){
3  return string.charAt(0).toUpperCase() + string.slice(1);
4}
5
6// Calling function and display the result
7var str1 = 'hi there!';
8str1 = capitalizeFirstLetter(str1);
9document.write(str1); // Print: Hi there!
Sofia
28 Feb 2016
1$('#test').css('text-transform', 'capitalize');
2
queries leading to this page
how to make first letter of each word capital in jqueryjquery firstname lastname uppercase first wordjquery firstname capitalize all first wordjquery string first character uppercasejquery to uppercase first letterjquery text first letter uppercaseconvert string in first word capoital in jqueryjquery string capitalize first letterhow to make first letter capital in jqueryfirst letter capialize a string jquerycapitalize first word jqueryjquery capitalize first letter of each wordtext first letter in upercase in jquerinput first letter capital jqueryjquerry capitalize first letter inbuilt functionjquery firstname lastname uppercase first letter caps in jqueryinput make first letter capitalize jqueryjquery firstname capitalize each first wordjquery firstname uppercase each first wordfirst letter uppercase jqueryucfirst in jquerycapitalize first letter jqueryfirst letter capital jqueryjquery uppercase first letterjquery fullname capitalize all first wordhow to take first letter capital of a sentece of a every word value in jqueryhow to make 1st letter uppercase in jqueryconvert string to first letter capital jqueryhow to make first character in uppercase in jqueryjquery string uppercase first letterjquery capitalize first letterjquery turn first leter to capitalmake first letter of each word capital in jquerrycapitalize first letter of string jqueryjquery capitalize first letter inputuppercase first letter jquerycapitalise first letter jquerymake first letter capital jqueyrjquery capital first letterfirst letter uppercase in jqueryjquery first letter lowercasehow to capitalize first letter in every word of a string jqueryjquery first letter capitalizedhow to make first letter of a world capitalized with jqueryupper case first letter in jqueryjquery full name capitalize all first wordjquery keep first letter capital in inputjquery input value capitalize first letterfirst character of string jquery capitalizejquery capitalize first letter of stringcapitalisze first word jqueryconvert first letter to uppercase jqueryjquery firstname capitalize each first wordfirst letter to uppercase jqueryhow to capitalize first letter in jquerycapitalizes the first letter of each word jquerychange first letter caps by class jqueryjquery make first letter capitalupper case first letter jqjquery first letter should auto capitalizejquery first letter uppercasefirst letter capital in jqueryjquery uppercase first letter of each wordmake the first letter capital in jqueryfirst character uppercase jqueryfirst letter capital in jquery