saving dynamic generated page

J

jman

i've got a page that's dynamically generated by javascript on
the client side.

user presses a link on the page, content is generated by
javascript, a window pops up and the text is displayed.

ideally i'd like a save-as window to pop up and save the
text to a file.

well now i ask the user to press Ctrl-S to pop the save-as
window up. it does - but when the page is saved - what's
saved is the document of the original page (that generated
the dyn page) - not the dynamic page.

when i do a view source on the dyn page - it's correct..
it's just not saving the correct page.
 
G

GArlington

i've got a page that's dynamically generated by javascript on
the client side.

user presses a link on the page, content is generated by
javascript, a window pops up and the text is displayed.

ideally i'd like a save-as window to pop up and save the
text to a file.

well now i ask the user to press Ctrl-S to pop the save-as
window up. it does - but when the page is saved - what's
saved is the document of the original page (that generated
the dyn page) - not the dynamic page.

when i do a view source on the dyn page - it's correct..
it's just not saving the correct page.

Post your code (extract ONLY) enough to test your assertion...
 

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

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top