Hello Cocoon dev-dudes,

Believe it or not, people may sometimes still want or need to do some client-side Javascript stuff... :-)

I set a window.onload handler in some client-side Javascript, but it got stomped by the
<body onload="forms_onload">
added by the forms stylesheet.


I worked around by hacking forms-lib.js:

        var onloadSaved = window.onload;
        function forms_onload() {
                if (onloadSaved) {
                        onloadSaved();
                }
                .
                . // etc...
                .
        }

Is there any reason this shouldn't just be added to forms-lib.js?

Very best regards,
Mark



Reply via email to