Changes

Jump to navigation Jump to search
Wagon Slots
Line 4: Line 4:  
$(this).addClass('selected');
 
$(this).addClass('selected');
 
$(this).siblings().removeClass('selected');
 
$(this).siblings().removeClass('selected');
var wagonSelection = this.classList[0];
+
var wagonSelection = this.wagonClass[0];
 +
});
 +
 
 +
$('#wagon-configurator li.wagon-slot').click(function(){
 
alert("You selected " + wagonSelection);
 
alert("You selected " + wagonSelection);
 
});
 
});

Navigation menu