Hallo,
function MachWas() {
alert("Es ist was passiert!");
}MeinObjekt.onErgegnis=MachWas;
if(typeof MeinObjekt.onErgegnis == "function")
{MeinObjekt.onErgegnis();}
Das sollte problemlos funktionieren.
Mathias
--
[Visitenkarte](http://community.de.selfhtml.org/visitenkarten/view.php?key=17) · [SELFHTML Weblog](http://aktuell.de.selfhtml.org/weblog/)