Untitled
unknown
plain_text
3 months ago
300 B
2
Indexable
SCRIPT CAPITAL LETTER function capitalizeFirstLetter(input) { // Capitalize the first letter and keep the rest unchanged if (input.value.length > 0) { input.value = input.value.charAt(0).toUpperCase() + input.value.slice(1); } } oninput="capitalizeFirstLetter(this);"
Editor is loading...
Leave a Comment