$(function () { $('.target') .animate({ top: '+=100px' }, 500, 'swing') .promise().done(function () { // アニメーション完了後に実行される alert('done!'); }); });
<div class="target"></div>
.target { position: absolute; width: 50px; height: 50px; background-color: blue; }