Re: Create a download file...?

Kristjan Robam <[email protected]> Wed, 27 Apr 2022 06:51:11 -0700 (PDT)
Newsgroups alt.comp.lang.javascript
Message-ID <[email protected]>
Tym kirjutas P=C3=BChap=C3=A4ev, 24. jaanuar 2010 kl 23:08:16 UTC+1:
> OK - hands up - i'm a javascript newbie!
> I'm not doing too bad with online tutorials etc, but this one's got me=20
> stumped...
> I've got a form on my web page with lots of fields in, as you do.
> What I want to do is have a button on the page that triggers a javascript=
=20
> routine that will then take the values in the form and put them all in a=
=20
> "text file" format (I recon I can do that quite easily!) and then force a=
=20
> "download" of the virtual "text file" I created on-the-fly
> Can someone give me a pointer or two please??
> Tym.

I guess that could be done only with javascript ajax and php(or other serve=
r side scripting language) together.




Kristjan