4 * Finds the highest tabindex in use.
6 * @return Integer of highest tabindex on the page
8 $.fn
.maxTabIndex( function() {
10 $(this).find( '[tabindex]' ).each( function() {
11 var tabIndex
= parseInt( $(this).attr( 'tabindex' ) );
12 if ( tabIndex
> maxTabIndex
) {
13 maxTabIndex
= tabIndex
;