editing existing html-file using js

Discussion in 'Javascript' started by Georg Andersson, Apr 15, 2004.

  1. 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
     
    Georg Andersson, Apr 15, 2004
    #1
    1. Advertising

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


    "Georg Andersson" <> skrev i en meddelelse
    news:...
    > 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
     
    Jakob Lund Krarup, Apr 15, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Mark Perona
    Replies:
    2
    Views:
    395
    Duray AKAR
    Aug 12, 2003
  2. Replies:
    0
    Views:
    604
  3. Christopher M.
    Replies:
    1
    Views:
    427
    Joseph Kesselman
    Jan 3, 2008
  4. PaulNaude

    how 2 allow new record but not editing existing ones

    PaulNaude, Dec 6, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    135
    PaulNaude
    Dec 6, 2005
  5. Replies:
    0
    Views:
    207
Loading...

Share This Page