How does the click () function in jquery work with multiple glass divs?
I have one main div and another div inside the main div, when I click on the div inside, it is also considered a click on the main div, but I do not want this, I want it to consider only clicking on the inside of the div.
<div id="main"><div id="inner"></div></div>
Let's say that the main div is much larger and the inner one is just a small square when I click on the inner div (small square). I do not want it to run anyting, as if I were clicking on the main div, How do I maneuver? Thanks again!
source
share