Forum Moderators: open
<html>
<head>
<title>Untitled Page</title>
<script type="text/javascript">
function testit(){
var x1=document.getElementById('testbed')
var x2=document.getElementById('testtext')
x1.innerHTML=x2.value
}
</script>
</head>
<body>
<div id="testbed" style="height:350px; width:800px;"></div>
<div>
<textarea id="testtext" style="height:150px; width:800px" onkeyup="testit()"></textarea>
</div>
</body>
</html>
Whilst it is common for scripts that work in IE to fail in Mozilla (due to the use of non-standard stuff) most scripts that work in Mozilla work in IE.
Kaled.