
write script into another frame with innerHTML/insertAdjacentHTML
Hi,
I would like to write a script like that ...
<script language=javascript>
titi = "";
parent.main.document.innerHTML =
"<script>alert('coucou');</s"+titi+"cript>";
</script>
This script does not have compiling error but does work.
The same script works with write function.
Frdric