new to web.
I am trying to know if user has clicked on div with css a certain class
my class html element is as follows
<div class="icon arrowIcon arrowLight tagIcon"></div>
my event target value is
$(event.target): jQuery.fn.init[1]
0: div.icon arrowIcon arrowLight tagIcon
and the function
($(event.target).find('.tagIcon').length > 0)
returns false.
Any idea?