Article View: alt.irc.mirc.scripts
Article #1Re: Running a script automatically when a page loads????
From: Tim Slattery
Date: Wed, 31 Mar 1999 00:00
Date: Wed, 31 Mar 1999 00:00
24 lines
1800 bytes
1800 bytes
>I'd like to know how do I call a script on the server through an HTML page, >automatically, when the page loads. > >I've typed the directive <!--#exec ..........> but it doesn't work.. > >Please help me... > >I'd appreciate a lot. > >Regards >Miguel Carpinha >miguel@bimotor-gamer.pt Try this: </SCRIPT> <SCRIPT LANGUAGE="JavaScript" EVENT="onload" FOR="window"> [put your JavaScript here] </SCRIPT> -- Tim Slattery Slattery_T@bls.gov
Technical Details
Message-ID:
<37025bc8.14819876@msnews.microsoft.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<922808405.999527@orodruin.esoterica.pt> <7dtf8h$8vv@world1.bellatlantic.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f93a6,c6e86fd68b6dcd51 X-Google-Attributes: gidf93a6,public X-Google-Thread: 10ba2c,c6e86fd68b6dcd51 X-Google-Attributes: gid10ba2c,public X-Google-Thread: f65aa,c6e86fd68b6dcd51 X-Google-Attributes: gidf65aa,public X-Google-Thread: 10c67e,c6e86fd68b6dcd51 X-Google-Attributes: gid10c67e,public X-Google-Thread: 10c71c,c6e86fd68b6dcd51 X-Google-Attributes: gid10c71c,public X-Google-Thread: f707c,c6e86fd68b6dcd51 X-Google-Attributes: gidf707c,public X-Google-Thread: 10f5bd,c6e86fd68b6dcd51 X-Google-Attributes: gid10f5bd,public X-Google-Thread: fcc66,c6e86fd68b6dcd51 X-Google-Attributes: gidfcc66,public From: Slattery_T@bls.gov (Tim Slattery) Subject: Re: Running a script automatically when a page loads???? Date: 1999/03/31 Message-ID: <37025bc8.14819876@msnews.microsoft.com> X-Deja-AN: 461231074 Content-Transfer-Encoding: 7bit References: <922808405.999527@orodruin.esoterica.pt> <7dtf8h$8vv@world1.bellatlantic.net> Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Newsgroups: alt.irc.mirc.scripts,alt.perl,de.comp.lang.javascript,fj.comp.lang.javascript,microsoft.public.inetexplorer.ie4.scripting,microsoft.public.inetexplorer.scripting,microsoft.public.inetsdk.programming.scripting.jscript,microsoft.public.windows.inetex