ChrisB: JS: onClick: Eigener "Elementyp" (a,input,label)

Beitrag lesen

Hi,

Wie finde ich bei einem onclick() der eigene Elementtyp raus?

Bsp:
<input onclick"meinefunktion()" />  -> input

<label onclick"meinefunktion()">  -> label

http://de.selfhtml.org/javascript/objekte/node.htm#node_name

MfG ChrisB

--
Light travels faster than sound - that's why most people appear bright until you hear them speak.