Offhand I'm not certain, so instead of giving you mediocre advice, I
suggest you check out:
http://www.google.com/search?q=javascript+event+bubbling

I think the first link addresses your issue.

--Erik


On 5/4/07, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote:


hello friends,

i have this html structure:

<dt><a href="mylink.php" class="ajax">click me</a></dt>



i have a behaviour for the DT element, which, on click, should toggle the
visibility of its corresponding DD element.
I also have a behaviour for the A element, which loads via ajax content
somewhere else on the page.

Now, the issue I face is the A behaviour triggers the DT element behaviour,
meaning, it toggles the visibility of the DD element.

Any idea how i can prevent that?



Thank you,

Alexandre



Ce message Envoi est certifié sans virus connu.
 Analyse effectuée par AVG.
 Version: 7.5.467 / Base de données virus: 269.6.2/787 - Date: 3/05/2007
14:11

Reply via email to