nativeDroid2 icon indicating copy to clipboard operation
nativeDroid2 copied to clipboard

Setting active tab in js?

Open webrtd opened this issue 8 years ago • 1 comments

Is it possible?

webrtd avatar Feb 13 '17 13:02 webrtd

Yes, it is possible. It can be done through jquery. If we look at the example page http://nd2.godesign.ch/examples/extended/tabs.html and inspect an element with chrome and go to the console.... We can select/set active tab by passing any of the commands: $('li[data-tab="friends"]').click(); $('li[data-tab="work"]').click(); $('li[data-tab="holiday"]').click(); $('li[data-tab="colors"]').click();

goldfingerfif avatar Mar 19 '17 18:03 goldfingerfif