Hello Gilles & Erik, the codes below never work with IE7 & FF2.0


<html>
<head>

<script src="jquery.js"></script>

<script>
jQuery(document).ready(function() {
        alert('ready');

    // Assign event to window.onload
    jQuery('window').load(function() {
        alert('Everything is loaded!');
    });

});

</script>

</head>
<body>
TEST123
</body>
</html>


howa



On 6月23日, 下午7時09分, "Gilles (Webunity)" <[EMAIL PROTECTED]> wrote:
> As i see your question, i think you mean this:
>
> jQuery(document).ready(function() {
>     // Assign event to window.onload
>     jQuery('body').load(function() {
>         alert('Everything is loaded!');
>     });
>
> });
>
> On 23 jun, 12:52, howa <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > is it possible to attach some codes to the body.onload via
> > document.ready, or other methods to attach body.onload?
>
> > thanks.

Reply via email to