xyxx: call by value

Beitrag lesen

hi
gibt es eine möglichkeit, style-sheet-angaben mit call-by-value zu über geben?

function w1(d)
{

document.all.[document.all.[d].id].style.removeAttribute("backgroundImage","false");
document.all.[document.all.[d].id].style.setAttribute("backgroundImage","url(back2.png)","false");
}

<td> <a href="bio.htm" target="caro2"><p id="x2" align=center style="text-decoration:none;background-image:url(back.png)" onmouseover="w1(2)" onmouseout="w2(2)">Biographie</p></a></td>