If you put the .click () element in a div element and you have an input element in the div. how can you omit .click () if the user clicks on the input?
div.click () should only be triggered when the user clicks inside the div, but outside the input element
<div style="width:400px; height:200px">
<input type="text" style="width:50px" />
</div>
source
share