Where do you personally prefer to put html tag handlers with JQuery-powered Html page and why: html tag element or document.ready function ?
<a onclick="javascript:foo()" />
...
function foo() {
...
}
or
<a id="mytag" />
...
$(document).ready(function() {
$("#mytag").click(function() { ... });
})
Thank you in advance!