I am trying to go through an object that contains information, and if I remove one of the elements, I do not know how I have to do to remove the others that I have not selected. This is the code:
var finalActTabs = {
fTab1: '#a1, #a2, #a3',
fTab2: '#b1, #b2, #b3',
fTab3: '#c1, #c2, #c3'
};
for (var k in finalActTabs){
var selected = finalActTabs[k];
}
This way I have selected the one I want according to the order, but how do I put in another variable, the data that contains the object that has not been called in each journey? Thank you very much in advance.