Hi,
<a href ="#" onclick="aufklappen('menue1')">aus+ein</a><br />
Wie erreiche ich, dass entsprechend des Kontextes nur "auf" bzw. nur "ein" dort steht?
In dem du bspw. die data-Eigenschaft des Textknotens, der das erste Kindelement des Links ist, entsprechend setzt.
MfG ChrisB
--
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]