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(); });
1.4m articles
1.4m replys
5 comments
57.0k users