Click to See Complete Forum and Search --> : Save generated page as...
Rick VO
06-09-2006, 02:46 AM
Hey guys,
I managed to make thi webpage and it's working 100%... but i wanted to do something extra..
http://lerweb.khlim.be/~erasmus/eindwerk/writing/writing.htm
See, when you press "Finish your work" it generates a new page...
But then I would like to "Save page as..." to mail it to somebody (less datatraffic for e-mail etc.), but it saves he original, not the new page..
I even checked it, it has new source code.. is there any way of saving this "new page"?
Rick
wasim_@_drushti
06-09-2006, 05:20 AM
Hey guys,
I managed to make thi webpage and it's working 100%... but i wanted to do something extra..
http://lerweb.khlim.be/~erasmus/eindwerk/writing/writing.htm
See, when you press "Finish your work" it generates a new page...
But then I would like to "Save page as..." to mail it to somebody (less datatraffic for e-mail etc.), but it saves he original, not the new page..
I even checked it, it has new source code.. is there any way of saving this "new page"?
Rick
This is not possbile, b'coz you are trying to print the values using javascript.
When U submit the form, the inserted values get dispalyed. But when U save the page on your desktop & open it. The values of the form fields get reset. What U will have to do is, print the values there it self when it gets displayed or directly set a print command instead of submit.
Let me know what U do
Rick VO
06-09-2006, 05:36 AM
Any suggestion on 'how' to print these, like what type of code.. Outside of JS, that means "html" or...?
Can you give an example?
R
wasim_@_drushti
06-09-2006, 05:50 AM
what would be suitable for U asp or php (I mean with what are U more comfortable
PHP / ASP). OR u directly want to print it on a page.
Rick VO
06-09-2006, 06:39 AM
I was kinda trying to make this website run on a CD-ROM, because it is also for children who might not have internet at home..
That's the biggest problem, otherwise I would use PHP or sthing..
No possibility to save this 'generated page' with the things you type in the first page (coz it generates a different source code ) without server side scripting?
wasim_@_drushti
06-09-2006, 06:47 AM
It is not Possible with normal javascript or HTML
Rick VO
06-09-2006, 06:48 AM
I was afraid this might be the answer...
Unfortunately there goes a point on my thesis :(
R