问题
I had a problem, and this answer solved it. It uses the property tabIndex
.
Is this property cross-browser? Which browsers support it?
Normally I would use Google for this, but oddly, nothing about this (except w3schools) appeared in my search query, and w3schools is terrible and doesn't show which browser versions are supported, only which browsers. MDN doesn't say anything about it either.
回答1:
tabIndex
is so old, it has been standard since the earliest versions of browsers. In fact, it might even have been a part of the first ever HTML spec, although I can't say that for certain.
Basically, the reason you can't find compatibility tables is because everything supports it.
来源:https://stackoverflow.com/questions/17716678/is-javascripts-tabindex-property-cross-browser