1

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?

Yi Jiang
  • 49,435
  • 16
  • 136
  • 136
3gwebtrain
  • 14,640
  • 25
  • 121
  • 247

1 Answers1

0

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

also see:

Prevent parent container click event from firing when hyperlink clicked

Two differents OnClick on two divs, one over the other

Community
  • 1
  • 1
Moin Zaman
  • 25,281
  • 6
  • 70
  • 74