Article View: alt.irc.mirc.scripts
Article #2Re: Running a script automatically when a page loads????
From: Erik Morr
Date: Sat, 03 Apr 1999 00:00
Date: Sat, 03 Apr 1999 00:00
48 lines
2551 bytes
2551 bytes
This is a multi-part message in MIME format. --------------F8C6137AAB90686F01D74E48 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Try this in the <BODY> tag: <body onLoad="functionname()"> or just insert the code inline. If you need to run a server side code (e.g., asp) just write the code anywhere you need it to run on the page between <% %> tags. Erik. Miguel Carapinha wrote: > hi.. > > 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 --------------F8C6137AAB90686F01D74E48 Content-Type: text/x-vcard; charset=us-ascii; name="emorr.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Erik Morr Content-Disposition: attachment; filename="emorr.vcf" begin:vcard n:Morr;Erik x-mozilla-html:FALSE org:INDUSTRiNET, INC adr:;;;;;; version:2.1 email;internet:emorr@access1.net title:CTO x-mozilla-cpt:;0 fn:Erik Morr end:vcard --------------F8C6137AAB90686F01D74E48--
Technical Details
Message-ID:
<3705d3bb.0@news.access1.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<922808405.999527@orodruin.esoterica.pt>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: 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 X-Google-Thread: f65aa,c6e86fd68b6dcd51 X-Google-Attributes: gidf65aa,public X-Google-Thread: 10c67e,c6e86fd68b6dcd51 X-Google-Attributes: gid10c67e,public From: Erik Morr <"emorr"@no$pam.com> Subject: Re: Running a script automatically when a page loads???? Date: 1999/04/03 Message-ID: <3705d3bb.0@news.access1.net> X-Deja-AN: 462890994 References: <922808405.999527@orodruin.esoterica.pt> X-Accept-Language: en Content-Type: multipart/mixed; boundary="------------F8C6137AAB90686F01D74E48" MIME-Version: 1.0 Reply-To: ""emorr\"@no$pam.com" 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