views:

33

answers:

1

Hi,

I have a div and it has a click event. In the div there is two link are available with separate click event.

My problem is, while I click the two separate links, the div event only firing not the link event. How can I use this all three events separately?

Anyone help?

A: 

google cancelBubble and cancelPropogation (different methods that do the same thing but needed for firefox and ie)

also see:

http://stackoverflow.com/questions/1997084/prevent-parent-container-click-event-from-firing-when-hyperlink-clicked

http://stackoverflow.com/questions/2015041/two-differents-onclick-on-two-divs-one-over-the-other

Moin Zaman