nativeDroid2
nativeDroid2 copied to clipboard
Setting active tab in js?
Is it possible?
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();