editing existing html-file using js

G

Georg Andersson

hi

i've created a html-file containing a frameset. the document in one
frame enables the user to change the content of the other frames. but
i want to modify the current html-files in the frame instead of
loading another html-file.

so, is it possible to change the content of a html-file on the disk?
or create a new html-file, write the code inside and delete another
html-file?

i'm pretty new to this javascript-world and therefor not verry
sofisticated. i hope you understand want i want to say. not only my
javascript-knowledge is verry poor, but also my english...

any help will be greatly appreciated!

george, zurich
 
J

Jakob Lund Krarup

Hi George

You cannot change anything permanently on the servers harddisk using
javascript. Javascript cannot write any files or change files on the server.
You need a serverside programming method like ASP, ASP.NET, PHP or the like.

Javascript can only read files and change the way they are displayed.

Kind regards - Jakob
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,014
Latest member
BiancaFix3

Latest Threads

Top