[Javascript] Re: Opening file on server with JS

phumes1 at home.com phumes1 at home.com
Thu Nov 8 16:26:06 CST 2001


Cool!

Thanks


At 09:37 PM 11/8/2001 +0000, you wrote:
>How about using the onLoad event?
>
>function openThing()
>{
>         document.location.href = 'file://x:\directory\test\filename.dat';
>}
>
><body onLoad="openThing();">
>
>see if that works.
>
>  .b
>
> > -----Original Message-----
> > From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
> > Behalf Of phumes1 at home.com
> > Sent: 08 November 2001 21:18
> > To: Javascript at LaTech.edu
> > Subject: [Javascript] Re: Opening file on server with JS
> >
> >
> >
> > How can I open a file or load a file with JS automatically from a page
> > rather than having to click on a link?
> >
> > I have the following link in a file.
> >
> > <a href="file://x:\directory\test\filename.dat">Open file</a>
> >
> > How can I have this execute automatically. I don't want to have to click
> > on the link.
> >
> > _______________________________________________
> > Javascript mailing list
> > Javascript at LaTech.edu
> > http://www.LaTech.edu/mailman/listinfo/javascript
> >
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>http://www.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list