Let's imagine I have three inputs :
<input type="text" id="a">
<input type="text" id="b">
<input type="text" id="c">
and one div
table that should drop down when writing some data into input "a"
or input "b"
.
Well the logic I want to to take is:{
if you click and add some data to input a
show that table to me->table appears->if I click on input b
dont hide that div
, however if I click somewhere else for example in input c
, hide the table.
It's been 3rd day I cannot do this.
P.S. My boss told not to use $timeout. It should be done with blur and focus