uuups,
namenspeicher muß natürlich belegt werden:
function changePerson(id) {
for (x=0;x<=12;x++) { document.getElementById("art_"+x).style.color = "#666666"; }
for (x=1;x<= person_art[id].length;x++) { document.getElementById("art_"+person_art[id][x]).style.color = "#007DC9"; }
namenspeicher=document.getElementById("per_"+[id]).childNodes[0].nodeValue;
document.getElementById("per_"+[id]).childNodes[0].nodeValue=person_art[id][0];
document.getElementById("per_"+[id]).style.color = "#007DC9";
}
gruß
ptr