So many answers, all slightly different, but the shortest recommended syntax to run the function 10 seconds after DOM ready, while still retaining best practices, would be:
$(function(){
setTimeout(loadajax,10000);
});
As Blazemonger mentions below, you could simply put setTimeout(loadajax,10000);
at the end of the document, however that is not as flexible to change. jQuery DOM load code should always be in a jQuery DOM load event (i.e. $(function(){...});
)