<!doctype html>
<meta charset= "UTF-8" >
<title>Example:InnerHTML</title>
<script type= "Text/javascript" >
function NoScript ()
{
if (!document.getelementbyid| |! document.createTextNode) {return;}
var Nojsmsg=document.getelementbyid (' noscripting ');
if (!nojsmsg) {return;}
var replacemessage= ' Replacemessage= ' <p>we tested if your browser is capable of ';
replacemessage+= ' Supporting the Application,and all checked out fine. ';
replacemessage+= ' Proceed by activating the following link.</p> ';
replacemessage+= ' <p><a href= "application.aspx" > Proceed to Application</a></p> ';
Nojsmsg.innerhtml=replacemessage;
}
Window.onload=noscript;
</script>
<body>
<p id= "Noscripting" >
We is sorry,but this application needs JavaScript
Enabled to work. Please <a href= "contact.html" >contact us</a>
If you cannot enable scripting and we'll try to help your in
Other ways
</p>
</body>
ERROR:
Simplifying scripts with innerHTML