E.preventDefault() won't prevent bubbling e.stopPropagation() or return false (stop both) will.
$('a'). Click(function(e){ e.preventDefault(); // stop a. Click firing but allow click event to continue bubbling?
}); e.preventDefault() won't prevent bubbling, e.stopPropagation() or return false (stop both) will.
The point is that it needs to bubble, just not run the default process. – Schroedingers Cat Jul 19 at 10:26 Which is exactly what e.preventDefault(); will do. I dropped in the extra bits so the OP would know the next time such an issue will arise.
– Shef Jul 19 at 10:28 OK, I am not sure that was clear. – Schroedingers Cat Jul 19 at 10:29 @Shef Thanks Shef and to everyone else. I've been using e.preventDefault() in combination with 'return false' for some time now, but have never had to utilise the benefits of event delegation before, which is why this query arose.
– Steve Jul 19 at 15:15.
You could do: $('a'). Click(function(e){ e.preventDefault(); // stop a. Click firing but allow click event to continue bubbling?
}); fiddle here jsfiddle.net/tU53v.
Try this.. $('a'). Click(function(e){ e.preventDefault(); // stop a. Click firing but allow click event to continue bubbling?
}); here you can find difference between return false and e.preventDefault().
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.