17,230
edits
No edit summary |
m (might need to pass the data to the handler; I don't have the hang of scope in js yet) |
||
Line 27: | Line 27: | ||
$('#'+target+' div').hide(); | $('#'+target+' div').hide(); | ||
tabstate[target][selector] = selection; | tabstate[target][selector] = selection; | ||
console.log( target ); | |||
console.log( tabstate ); | |||
var content = tabstate[target].join( ' ' ); | var content = tabstate[target].join( ' ' ); | ||
$('#'+target+' div[data-tab-content="'+content+'"]').show(); | $('#'+target+' div[data-tab-content="'+content+'"]').show(); |