Yes
The inline handler onclickwill bind when the DOM loads
While everything that you add with .onor .addEventListenerwill have to wait for the DOM element to load.
See here: http://jsfiddle.net/DmxNU/
Your html
<a href="#" onclick="console.log('hello');">click</a>
Your js (jQuery in this case)
$(function() {
$("a").click(console.log.bind(console, "world"));
});
Exit
hello
world
Explanation
, , . DOM API , , . onclick, .