how can i change focus into particular div after any event via jquery?
To make a div focusable, it needs to have a tabindex attribute.
tabindex
<div id='test' tabindex='1'></div>
Then, you can focus with e.g.
$('#something').click(function() { $('#test').focus(); });
2.1m questions
2.1m answers
60 comments
57.0k users