I have a search bar and when on blur
the div
gets hidden. However when I click a specific div
I don't want to execute the on blur
function. I mean only for the specific point when the user clicks there, I don't want on blur
to execute but for other cases I want it to work. What should I do?
I am editting this message for jfriend00:
I guess I didn't express myself clearly. I wan to do this situation on the fly. I mean when the user click location_event class I dont want blur execute. The hard thing is onblur execute before onclick, so I have to do something in onblur function but I dont know what to do?
I think, I should get the event target (this clicked div class) in blur function, but i dont know how?