[Solved] basic function of js with extjs


This looks like a really unusual use of ExtJs, but you can try:

Ext.select('#tab-home-view ul li a').on('click', function (ev) {
    Ext.select('#tab-home-view ul li').removeCls('selected');
    Ext.get(ev.currentTarget).up('li').addCls('selected');
});

3

solved basic function of js with extjs