$(function () {
var getBg = $('.one').css('background');
$('.two').css('background', getBg);
});
Run Code Online (Sandbox Code Playgroud)
在Chrome中工作得很好,在IE和FF中不起作用,我错过了什么?
我试过这个 $('.setting-editor').prev('.visibleWrap').show();
但是什么也没发生,我想我错误地使用了 prev() 。下面是我的 DOM 样子
