Change Variable Text To Lower Case
- Forums
- Javascipt
- Change Variable Text To Lower Case
how do i change the value of a variable to lower case characters in a javascript script? [2215], Last Updated: Mon Jun 24, 2024
Elvis
Mon Mar 29, 2010
1 Comments
447 Visits
how do i change the value of a variable to lower case characters in a javascript script?
i am familiar with php you can use the strtolower() but for javascript, i am not sure
toLowerCase()
so if you have a string called Myname for example, you can change the letters to lowercase:
document.getElementById('Myname').value.toLowerCase();
hope that helps
https://www.webune.com/forums/20100329ccrh.html