[Seaside] JavaScript window.onload Event
Philippe Marschall
philippe.marschall at gmail.com
Tue Feb 21 07:20:00 UTC 2006
2006/2/20, Jared Carroll <jared.carroll at gmail.com>:
> I'm having trouble getting a JavaScript function called during the
> window.onload event.
>
> The following doesn't seem to work when I have it as the body
> of my component's #script method (defined as a string) or defined within a
> StyleLibrary
> that's used by my application.
>
> window.onload = function () {
> alert("hello")
> }
You're probably looking for #addLoadScript:
Philippe
More information about the Seaside
mailing list