How can I pass a variable from a javascript onload function to the body of my asp page.
function onload()
{
var temp
if something == "x"{
document.all.note.style.color="red";
temp="RED";
}
else
}
document.all.note.styele.color="blue";
temp="BLUE"
}
}
<body onload="onload()";>
<span id ="note" name="note" style=".....">Note: You are now in the temp zone.</span>
function onload()
{
var temp
if something == "x"{
document.all.note.style.color="red";
temp="RED";
}
else
}
document.all.note.styele.color="blue";
temp="BLUE"
}
}
<body onload="onload()";>
<span id ="note" name="note" style=".....">Note: You are now in the temp zone.</span>