Hallo,
Elm.className='GapSpan';
Elm.setAttribute("onclick", 'DoSthg()', true);
Das hatte keine Auswirkung
oder
Elm.onclick=DoSthg; // ohne ()!
Das geht nicht weil ich Parameter beim Event-Aufruf übergeben muss
Elm.onclick=function(){DoSthg()};
Aber das funktioniert gut in IE, und wenn es jetzt auch noch im Moz geht, spar ich mir die Browserweiche :-)
Danke,
Michael
MfG, Thomas