Hi,
Allerdings das mit e.target.id klappt leider nicht. Er gibt keine id zurück.
Kann ja auch nicht, wenn du zuvor e mit dem Rueckgabewert der stop-Methode eines neuen Event-Objektes ueberschreibst:
e = new Event(e).stop();
alert("Element with ID " + e.target.id + " clicked!");
MfG ChrisB
--
„This is the author's opinion, not necessarily that of Starbucks.“
„This is the author's opinion, not necessarily that of Starbucks.“