<script>
function mach_div()
{
div=document.createElement("div")
t=document.createTextNode("Text-Inhalt")
div.appendChild(t)
div.onmouseover= mach_was;
document.getElementsByTagName('body')[0].appendChild(div)
}
function mach_was(v)
{
alert(v.tagName);
}
Nein,
function mach_was()
{
alert(this.tagName);
}
Struppi.