. . .

Write the Javascript function to uncapitalized the inputted string?

javascript
Please share the article
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
<p id="output">my name is suman bhattacharjee</p>

<button type="button" onclick="allUppercase()">Hit To See</button>
function allUppercase() {
  var text = document.getElementById("output").innerHTML;
  document.getElementById("output").innerHTML = text.toUpperCase();
}

Leave a Reply

Your email address will not be published. Required fields are marked *

eighteen − 14 =