<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script> function ChangeText(Mynumber) { return 'Paragraph Changed'; } function Reset() { document.getElementById("demo").innerHTML = ChangeText(1)'; } </script> </head> <body> <h1>My Web Page</h1> <p id="demo">A Paragraph</p> <button type="button" onclick="Reset()">Try it</button> </body> </html>
document.getElementById("demo").innerHTML = ChangeText(1)';
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)