Guten Morgen Liste! Eine kleine Frage:
this.setBGColor=function (color){ color2 = "#000000" var el=document.getElementById(this.id()+'a'); el.style.backgroundColor=color; var el2=document.getElementById('hatsch'+this.treeView.name+this.id()+'_hilf'); el2.style.backgroundColor=color2; } kurz zum script: 'hatsch'+this.treeView.name+this.id()+'_hilf' <- das is die id der aktiven tabelle das script funkt so ganz gut, nur muss ich vorher die hintergrundfarbe aller tables im script wieder auf weiss zurücksetzen... wie mach ich das? for each <table> in script tableid.style.backgroundColor="white" next :) Danke! Harald Angel _______________________________________________ Javascript mailing list [EMAIL PROTECTED] http://www.glengamoi.com/mailman/listinfo/javascript