or event.stopPropagation()

----- Original Message ----
From: Ⓙⓐⓚⓔ <[EMAIL PROTECTED]>
To: jquery-en@googlegroups.com
Sent: Wednesday, April 25, 2007 2:00:50 PM
Subject: [jQuery] Re: click event and z-order

I believe your answer is false.

if you return false at the end of the click code, no other element will be 
bothered with the click event.

On 4/25/07, 
Stefan Kilp [sk-software] <[EMAIL PROTECTED]> wrote:

hi,

if have two elements (a image in a table) which have a click event registered 
(on <img> and
<tr> element). if i click on the img in the table both click events are 
executed. i would expect

that only the first element in the z-order gets the click event.

it there something i missed, how can i change the behavior?

thanks
stefan
--
Stefan Kilp
SK-Software, Entwicklung & Beratung


email: [EMAIL PROTECTED]

fon  : +49 6151 93344-0
fax  : +49 6151 93344-20
Herta-Mansbacher-Str. 98
64289 Darmstadt, Germany.
-----------------------------------------------------






-- 
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ



Reply via email to