I have some really weird behaviour - perhaps someone could enlighten
me why its happening as i cant figure it out...
<div id="contents">
<div class="windowopener">Open a window</div>
<div class="windowopener">Open a window</div>
</div>
$$('#contents .windowopener').invoke('observe','dblclick',function
(event){
alert('I was clicked');
});
The above script when double clicked gets fired twice for some
bizzarre reason and i cant see why it does ...
Can anyone help me understand why it gets fired
Thanks in advance
Alex
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---