Changes

Jump to navigation Jump to search
73 bytes removed ,  19:53, 2 August 2021
no edit summary
Line 32: Line 32:  
$('#wagon-configurator li.wagon-slot').click(function(){
 
$('#wagon-configurator li.wagon-slot').click(function(){
 
var wagonConfiguratorList = $('#wagon-configurator-list li.selected')[0].classList[0];
 
var wagonConfiguratorList = $('#wagon-configurator-list li.selected')[0].classList[0];
$(this).css("background-image", "url(" + wagonConfiguratorList + ")");
   
alert("You selected " + wagonConfiguratorList);
 
alert("You selected " + wagonConfiguratorList);
 
});
 
});
 
});
 
});

Navigation menu