Problem with load event

Problem with load event

I have simple document:

<script>
$(document).load(function(){
alert('Document loaded')}
);

$(document).ready(function(){
alert('Document ready')}
);

$(document).live('load', function(){
alert('Document loaded (live)')}
);
</script>

But from 3 attached events on page load fired only once - $(document).ready. I even can't imagine why :( .
Test page: http://ru.bir.ru/_/svg/jquery-test.htm
I've tested it in FireFox 3.6 and Google Chrome 5.0.322.2 dev.
Any suggestion? 


















    • Topic Participants

    • pahan