inside focusout set focus code example
Example 1: set focus javascript
document.getElementById("ThingToSetFocusOn").focus();
Example 2: input focus css default
/* This removes all focus effects */
element:focus {
outline-style: none;
box-shadow: none;
border-color: transparent;
}