jquery是:
$(window).load(function(){
//your callback code is here
$('.mylist').html(tmp);
});
原生js:
var E={
addEventListener:function(ele,eType,handler){
//省略代码
}
};
var renderCallback=function(){
//
};
E.addEventListener(window,'load',renderCallback);