Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

demo.innerHTML

<p id="demo">code</p>
<script>
function myFunction() 
{
   var text = document.getElementById("demo").innerHTML;
   document.getElementById("demo").innerHTML = text.toUpperCase();
}
</script>
Source by www.sanfoundry.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
2+8 =