The problem of hiding div under IE8

Simulate a placeholder, under

IE8 as shown in figure
clipboard.png
clipboard.png
clipboard.png


clipboard.png

Why can"t you hide the div when clicking on the right half of .placeholders , while input gets the focus? only when you click on the text Please enter the name can you hide the div .placeholders and let input get focus?

try, IE8910 will encounter this problem, 11 is good.

Apr.09,2021

IE8 has a phenomenon called event penetration. You can add a background solution to input, or you can add a transparent picture background to div


event bubbling to learn about


you can see if this div is full of input

. < hr >

and don't use screenshots in the code

Menu