Need to get lost focus on Div when doing popup layer
Focus Blur is only for form form controls, and for spans, Div, Li, and so on, there's no way to trigger their actions.
Several events (from the press release). Blur event: The Blur event occurs when the element loses focus. Focus Event: The focus () method is used to give the text field focus (and also to let some elements get focus events). TabIndex Property: The TabIndex property sets or returns the tab control order of the button. We all know that Blur is only for form controls, and for spans, Div, Li and the like, there is no way to trigger their actions, and now we just need to set a TabIndex property to trigger their focus event.
Objects with a positive value of TabIndex are selected based on the ascending value order and the order of the positions in the code
An TabIndex value of 0 is selected based on the order of the positions in the code
Objects with a negative value of tabindex are ignored
div block-level elements get focus