Specifies the binding of 'meta' content to an HTTP response header : Meta Info « HTML « JavaScript DHTML






Specifies the binding of 'meta' content to an HTTP response header

    
<html>
<meta id="myMeta">
<head>
<script language="JavaScript">
function function1() {
   document.all.myMeta.httpEquiv = "refresh";
   document.all.myMeta.content = 3; 
} 
</script>
</head>
<body>
<input type="button" value="Refresh this page every 3 seconds." onClick="function1();">
</body>
</html>

    
      
      








Related examples in the same category

1.'content' Example
2.'scheme' Example
3.'name' Example