html_code_clinic thread: Change the value of CONTENT property of META Element dynamically
Is CONTENT attribute of the META object can be changed dynamically?
Please, help me to understand why this does not work:
<HTML>
<HEAD>
<META ID=MyId http-equiv="refresh" content=50>
<script language="jscript">
function Temp() {
var coll=document.all.tags("META")
coll(0).content=1
// MyId.setAttribute("content","1"); does not work as well
// document.all(3).content = 1
}
</script>
</head>
<Body onLoad="Temp()">
Test
</body>
</html>