Changes

Jump to navigation Jump to search
m
no edit summary
Line 4: Line 4:  
$(this).addClass('selected');
 
$(this).addClass('selected');
 
$(this).siblings().removeClass('selected');
 
$(this).siblings().removeClass('selected');
var wagonSelection = this.wagonClass[0];
+
var wagonSelection = this.classList[0];
 
alert("You selected " + wagonSelection);
 
alert("You selected " + wagonSelection);
 
});
 
});

Navigation menu