On the problem of getting the focus of input Box in ie8

browser environment is IE8
input is the username password in the login page
in placeholder, the compatibility problem is to use jq to set its value,
to get focus, lose focus and make its value equal to the placeholder
you want to set. Then, when you click on the input box, there is no reaction at all. The weird thing is, click the text (placeholder) in the input box to get the focus

.

clipboard.png

Red plus yellow is the total length of input
Click on the yellow area of the text to get the focus,
there is no response in the red area

Jun.18,2021
Menu