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.
我的任务是在界面中包含大量表单元素的站点上实现 tabindex。使用ajax更新大部分ui的复杂页面中可以使用哪些策略来管理tabindex?您是否只是遍历所有 html 直到组织好 tabindex?
从我的角度来看,最好的方法是调用 JS 函数$(document).ready()或类似的东西。因为你有足够的时间来做这件事,而且它不是视觉的。
$(document).ready()