http://codepen.io/anon/pen/zxoYBN
To demonstrate my issue, I created a small example where there is a link button within a div that toggles another div when clicked. However, I want the link button to not trigger the toggle event and be excluded from the click action.
Unfortunately, I cannot use the cursor-event:none; workaround because it needs to be compatible with Internet Explorer.
Here is the JavaScript code:
$(function(){
$('#expandingHeader').click(function(){
$('#expandingContent').slideToggle();
})
})
The problem is that clicking on a div that should be positioned above #expandingHeader still triggers the click event. Any assistance in solving this issue would be greatly appreciated.