[jQuery] ready function mystery
This page: http://reenie.org/jquery/
is linked to 1.js which has this code:
$(document).ready(function(){
$('#myForm').livequery(function(){
alert('why is this happening?');
return false;
});
});
When the page is first loaded, it triggers the alert. It doesn't seem
like it would because it is in the livequery function. Why does it do
that?