471,337 Members | 990 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Allow user to file>save dynamically changed page content?

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

Similar topics

3 posts views Thread by Adam | last post: by
9 posts views Thread by Michael Schuerig | last post: by
17 posts views Thread by ccdrbrg | last post: by
2 posts views Thread by Jeroen Pot | last post: by
9 posts views Thread by invertigo | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.