By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,760 Members | 995 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,760 IT Pros & Developers. It's quick & easy.

Allow user to file>save dynamically changed page content?

P: n/a
I don't know who to go with for this question, googling is not very
helpful, if anyone has an idea i would appreciate it.

The issue: I created a page that will be used as a template for HTML
emails by non technical users. It consists of the layout, dummy
content, and a form that the user can enter the correct data into.
Pressing the form button updates the page with the appropriate content
and destroys the form. At this point i would like the user to save the
updated page for use but when saving they get the original page with
dummy content.

Is there any techniques or workarounds to access the dynamically
updated data for saving??

Tx,
Dyea

Mar 10 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
mo********@gmail.com said the following on 3/10/2006 6:47 PM:
I don't know who to go with for this question, googling is not very
helpful, if anyone has an idea i would appreciate it.

The issue: I created a page that will be used as a template for HTML
emails by non technical users. It consists of the layout, dummy
content, and a form that the user can enter the correct data into.
Pressing the form button updates the page with the appropriate content
and destroys the form. At this point i would like the user to save the
updated page for use but when saving they get the original page with
dummy content.

Is there any techniques or workarounds to access the dynamically
updated data for saving??


You could always open a new window for saving and populate that window
with the original pages code by using the innerHTML of the document.body
or document.documentElement

Search the archives.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Mar 11 '06 #2

P: n/a
Just found that one thanks for the reply though. Since this is an
inhouse tool for just a couple users on a certain browser its a fine
workaround.

Dyea

Mar 11 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.