1
I have a input
of the kind text
, in which I can type a search, which is executed via ajax, while the user type. Below this I have a list of items that were found in a table
. By clicking on this table, I change the style of the clicked Row, as if it were selected, but I don’t want the focus of the input to be lost... I want the user, even having clicked on the table, to be able to continue typing.
I tried the event blur
but so far I haven’t been able to, because I don’t know if the element clicked was inside the table.
Could you post the code of what you have done so far? html and js
– Paulo Roberto Rosa