473,395 Members | 1,460 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 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 1729
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Adam | last post by:
Hi All, Is it possible to use includes dynamically in html. Hopefully the following example will give an idea what I am rying to do. Thanks in advance Adam <script language="javascript">
9
by: Michael Schuerig | last post by:
I'd like to mark input elements with class "invalid" by appending something, say a "?". My understanding is that it should work like this: input.invalid:after { content:"?"; } However, at...
1
by: RWC | last post by:
Hey Folks! I'm having trouble with an asp page. First off, I'm new to the html / asp world, but not to software development. I'd like to minimize or "normalize" the site, so I'm trying to use...
17
by: ccdrbrg | last post by:
This is a rather general subject, I apologize. I am new to XHTML, CSS, et al and I am having trouble understanding the DTD and xml namespace declarations. For example: <!DOCTYPE html PUBLIC...
2
by: Jeroen Pot | last post by:
Hi, i have an asp.net web application. A user can start a process which takes a long time, about 1.5 hour. but after about an hour, internet explorer display's the page: "The page cannot be...
3
by: André | last post by:
Hi, I put that question already, but it's still not very clear to me, so ... Assume following option in web.config= debug="false" but in one aspx page (test.aspx) <%@ debug="true" ..%>
4
by: SammyBar | last post by:
Hi all, I wonder is it possible to upload the content of an <imgfield to a server. The content of the <imgwas downloaded from a web site different from the one it should be uploaded. The image...
1
by: vasista2k | last post by:
I would like to protect the content of my web-site pages. Does anyone know how to disable the 'File->Save As' command on a web-browser.
9
by: invertigo | last post by:
Hello, Im using this .htaccess file to rewrite my websites URL. Reason i try to do this is to make it more SEO friendly. Code: -------------------------------------------------------- Options...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.