1
setTimeout(test,5000);
2
function test(){
alert('test....');
}
setTimeout(function(){
test()
},5000)
3
setTimeout(function(){
$.getJSON('/bative/userinfo?type=1',function(json){
$('.gold span').text(json);
})
},200)