Mine
public text v1 · immutable<html>
<head>
<title> Test Page </title>
<script>
function test(content){
e=document.getElementById("myDiv");
e.style.backgroundColor="yellow";
e.value = content ;
}
</script>
</head>
<body>
<div id="myDiv">
<p>This is a paragraph</p>
</div>
<div id="myOtherDiv">
<p>This is another paragraph</p>
</div>
<form name='f'>
<input type="text" name="ali">
</form>
<input type="button" value="Test" onclick="test(f.ali.value)"/><br/>
</body>
</html>