Edit in JSFiddle

(function() {
    $('test').fade('out');
}).delay(1000);
<div id='test'>test</div>
#test { 
    width: 100px;
    height: 100px;
    background: #ffb;
    padding: 10px;
    border: 2px solid #999;
}