要素の背景色を取得しようとしています
$(document).ready(function(){
$.each('.log-widget',function(){
console.log($(this).css('backgroundColor'));
//$(this).css({'box-shadow':'1px 1px 20px'+});
});
});
それは動作しません:TypeError: invalid 'in' operand a
各要素の背景色を取得し、それを 16 進数の色に戻したいと思います。