简体   繁体   中英

How to set tabindex of a jQuery UI Tab Control

I want to be able to use the Tab key to tab to the jQuery UI Tab Control, but I do not see where I can set its TabIndex. I see lots of post about about the Index of the Tabs within the Tab Control but I am refering to the overall TabIndex of the Control itself.

Thank you.

For JQuery UI version 1.9.0 or above, you can access

 ui.newTab.index() 

inside your function and get what you need.

For earlier versions use

 ui.index

That should do the trick!

Rachel :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM