![]() Preserved Topic: Saving dynamic page? (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Lebanon |
![]() Hi! code: for (i=0;i<10;i++)
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Two things you may want to look into, but I'm not going to tell you the details at the moment, since they're both complicated: CGI and cookies. CGI can let you save a file on the server, and you can use that to save data. Cookies let you save small amounts of data on the client's machine, provided they allow you to. Cookies are probably your best option here - but don't expect to save long text files. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() You can use JS to completely create a form or change a form value which can then be submitted to a form which saves the value. |
Paranoid (IV) Inmate From: Lebanon |
![]() Guys you totally misunderstood me! |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() It's not possible, no. But tell us why you want to do this, because we may be able to point you to some other ways to do what you want to do, ultimately. Are you trying to hide some of the JavaScript from viewers? Are you trying to debug your page? Do you want to see what is output by the JS? You may be able to do some of these things in *other* ways. |
Paranoid (IV) Inmate From: Lebanon |
![]() One more simpler example: code: <html>
|
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() Yup |