Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图尽可能晚地填充组合框,以提高性能。我曾经在支持 bean 的构造函数中为页面中的所有组合框填充方法。我想在用户需要时填充组合。哪个是最需要使用的事件以及避免延迟和并发问题的方法?
非常感谢
涵盖 onfocus 和 onmouseover - 在使用键盘和鼠标的情况下。但我建议将其加载到 document.onload 上。