Changes

Jump to navigation Jump to search
no edit summary
Line 14: Line 14:     
$('#wagon-configurator li.wagon-slot').click(function(){
 
$('#wagon-configurator li.wagon-slot').click(function(){
var wagonConfiguratorList = $('#wagon-configurator-list li.selected').attr('class');
+
var wagonConfiguratorList = $('#wagon-configurator-list li.selected')[0].classList[0];
alert("You selected " + wagonConfiguratorList[0]);
+
alert("You selected " + wagonConfiguratorList);
 
});
 
});
 
});
 
});

Navigation menu