Saved X
Google login
SignUp with Email

How to make all lowercase in js

theindreshverma ( Added  Sep 29, 03:05 pm )

Javascript toLowerCase() method, converts all letters in lowercase.

    <title>How to make all lowercase in js</title>

<h1>How to make all lowercase in js</h1>

<p id="s"></p>
<input type="text" onkeyup="makeLowercase(this)" placeholder="Enter here" />

function makeLowercase(t) {
    var x = document.getElementById('s');
    x.innerHTML = t.value.toLowerCase();


Sourcecode Tags

More Sourcecodes

More Sourcecodes