currently this is what I have: (in the dynamicly created <img/>)
<body onload = "
document.getElementById('html').value=
'...'+
'onmouseover="this.src = ’image.png’"'+
'...';
document.body.innerHTML = document.getElementById('html').value
">
but obviously ’ is not right...
can someone help plox :/
EDIT:
getElementById('html') is a textarea
(innerHTML only updates properly with this method)