p2p.wrox.com Forums

Need to download code?

View our list of code downloads.

  Return to Index  

html_code_clinic thread: Change the value of CONTENT property of META Element dynamically

Message #1 by "Irene Medvedev" <iba@p...> on Thu, 14 Sep 2000 19:17:59 +0100
Is CONTENT attribute of the META object can be changed dynamically?
Please, help me to understand why this does not work:

<META  ID=MyId  http-equiv="refresh" content=50>

<script language="jscript">

function Temp() {
var coll=document.all.tags("META")

//    MyId.setAttribute("content","1");    does not work as well
//    document.all(3).content = 1


<Body onLoad="Temp()">

  Return to Index