Here's jsfiddle - http://jsfiddle.net/XcC5d/1/
$('.select').on('click', function(event){
$('.result').css('background', $(event.target).css('background'));
});
When you click on any of the first 3.select divs, it copies the css value of the background and sets it to the result with a red frame.
This works in safari and chrome, but not in firefox. Any help would be greatly appreciated.
source
share