166
rated 0 times
[
172]
[
6]
/ answers: 1 / hits: 31302
/ 12 Years ago, fri, may 11, 2012, 12:00:00
I have the following html code:
<div class=outerElement>
<div class=text>
Lorem ipsum dolar sit amet
</div>
<div class=attachment>
<!-- Image from youtube video here -->
</div>
</div>
And I have a jQuery onclick event on the .outerElement
however, I don't want the .outerElement
onclick event to be called when I click on the attachment, is there some way to prevent this or to check which element is clicked?
More From » jquery