first letter uppercase in jquery

Solutions on MaxInterview for first letter uppercase in jquery by the best coders in the world

showing results for - "first letter uppercase in jquery"
Marge
08 Nov 2018
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!
Klara
18 Aug 2018
1$('#test').css('text-transform', 'capitalize');
2
queries leading to this page
ucfirst in jquerycapitalise first letter jqueryjquery to uppercase first letterfirst letter caps in jquerymake the first letter capital in jqueryfirst letter capital jqueryjquery capitalize first letterjquery first letter uppercasejquery capitalize first letter of each wordhow to make 1st letter uppercase in jqueryconvert string in first word capoital in jqueryjquery string uppercase first letterjquery capital first letterchange first letter caps by class jqueryjquery keep first letter capital in inputfirst character of string jquery capitalizejquery make first letter capitalmake first letter of each word capital in jquerryupper case first letter jqfirst letter capialize a string jquerycapitalize first letter jqueryjquery uppercase first letterhow to capitalize first letter in every word of a string jqueryconvert first letter to uppercase jqueryjquery capitalize first letter of stringhow to make first character in uppercase in jqueryfirst letter uppercase jqueryuppercase first letter jqueryjquery first letter capitalizedjquery string first character uppercasehow to capitalize first letter in jqueryfirst letter to uppercase jqueryjquery uppercase first letter of each wordjquery turn first leter to capitaljquery input value capitalize first letterfirst letter capital in jqueryjquery text first letter uppercasejquery first letter lowercasemake first letter capital jqueyrfirst letter uppercase in jqueryjquery string capitalize first letterupper case first letter in jqueryjquerry capitalize first letter inbuilt functioncapitalisze first word jqueryjquery first letter should auto capitalizehow to make first letter of a world capitalized with jqueryinput make first letter capitalize jqueryconvert string to first letter capital jqueryjquery capitalize first letter inputcapitalizes the first letter of each word jqueryfirst character uppercase jqueryhow to make first letter capital in jqueryfirst letter uppercase in jquery