Hubbitus
2010-02-23 17:07:26 UTC
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 one -
$(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 sugestion?
<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 one -
$(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 sugestion?