454Views2Replies

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 :-)

2 Replies

user
trebuchet03 (author)2006-12-03

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 :/

Select as Best AnswerUndo Best Answer

user
zachninme (author)trebuchet032006-12-04

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...

Select as Best AnswerUndo Best Answer