$(document).ready(function() { $('#otherpage').load('otherpage.html', function() { alert('Load was performed.'); }); });