Change case using JavaScript
<html> <head> <script> function setCase (caseType) { var firstNameString; var lastNameString; firstNameString = document.myForm.firstName.value; lastNameString = document.myForm.lastName.value; if (caseType == "upper ") { document.myForm.firstName.value = firstNameString.toUpperCase(); document.myForm.lastName.value = lastNameString.toUpperCase(); } …
Change case using JavaScript Read More