EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: korenanzo on January 15, 2016, 08:49:40 AM



Title: [SOLVED] accesskey on tab
Post by: korenanzo on January 15, 2016, 08:49:40 AM
Hi,

How can I  put the  accesskey attribute to the tab objects?

(I just need to modify the attributes of  the href element of tab)

http://www.w3schools.com/tags/att_global_accesskey.asp

Could be nice having this attribute managed in all the jeasyui objects ::)


Title: Re: accesskey on tab
Post by: korenanzo on January 19, 2016, 02:21:46 AM
self solved :

Code:
 var tmpTab=$('#mytabs').tabs('getTab',tabTitle)

var tmpA =tmpTab.panel('options').tab.children('a');

tmpA.attr('accesskey',myKey);