$(function(){ // 2秒後に実行 setTimeout(function(){ console.log('foo'); }, 2000); // 1秒後に実行 setTimeout(function(){ console.log('bar'); }, 1000); });