488Views1Replies

Author Options:

Create Pages from JavaScript? Answered

I was wondering if it is possible to create a text document from some JS embedded in a page. I know this may not be the perfect place to ask, but I might get some response : -) Thanks :-)

Comments

The forums are retiring in 2021 and are now closed for new topics and comments.
0
trebuchet03
trebuchet03

14 years ago

If you mean something like dhtml (all in the page) or ajax (in page and server side) -- sure absolutely. But if you mean create something like a .txt file on the host machine. No, you can't - that would be a bad security hole :/

0
zachninme
zachninme

Reply 14 years ago

1) Most of my page is in ASP.NET, so I will look around for the exact script. 2) :-P I just wanted to know, since a google search doesn't do much...