Use the onfocus event to change the border color of the input input box, why will it fail when you move the mouse away, and how to change the color as long as the focus is still there?

onfocusinput

the effect I want to do is the same as the Baidu search box. When you click on the search box, the search history appears below it. Even if the mouse leaves, as long as you don"t click anywhere else on the page or switch the page, the search history box is still there.

Mar.23,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e6170d-445e7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e6170d-445e7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?