Kai345: Warum set_attribute?

Beitrag lesen

[latex]Mae  govannen![/latex]

var att = "align";
var val = "center";

so würde es dann nicht funktionieren:

document.getElementById('absatz1').att = val;

Bin gerade zu faul zum testen...
document.getElementById('absatz1')[att] = val;

Cü,

Kai

--
When the limos return for their final review, it's all thru'
- all they can see is the morning goo.
"There's no-one left alive - must be draw."
So the Blackcap Barons toss a coin to settle the score.
ie:{ fl:( br:< va:) ls:? fo:| rl:? n4:° ss:{ de:] js:| ch:? mo:| zu:|]