How can I make jquery .focus()
to work without setting tabindex of a div
$("#msgdiv").focus();
<div id="msgdiv" tabindex="100"> </div>
what is the best practise for this
what i want to achieve: After changing the password i want to display the acknowledgment message that the password has been changed and put focus on that div.