Changes

Jump to navigation Jump to search
53 bytes removed ,  17:59, 2 August 2021
no edit summary
Line 4: Line 4:  
$(this).addClass('selected');
 
$(this).addClass('selected');
 
$(this).siblings().removeClass('selected');
 
$(this).siblings().removeClass('selected');
var wagonClass = $(this).attr('class');
+
var wagonSelection = this.wagonClass[0];
var wagonSelection = $(wagonClass).text().split(' ')[0];
+
alert(wagonSelection);
alert(wagonClass);
   
});
 
});

Navigation menu