To make a div focusable, it needs to have a tabindex attribute.
<div id='test' tabindex='1'></div>
Then, you can focus with e.g.
$('#something').click(function() {
$('#test').focus();
});
To make a div focusable, it needs to have a tabindex attribute.
<div id='test' tabindex='1'></div>
Then, you can focus with e.g.
$('#something').click(function() {
$('#test').focus();
});