Generating a javascript code

by "Krimm, Nik" <nik.krimm(at)marchFIRST.com>

 Date:  Tue, 20 Jun 2000 10:51:56 -0500
 To:  hwg-languages(at)hwg.org
  todo: View Thread, Original
Hi all:

I am writing an app where I want to 
1.  get input from a form
2.  generate a new page from the users input which...
3.  writes javascript code and HTML into the new document 
4.  show the new document with the code executed


I have the code written that generates a new page of javascript, but I can't
figure out how to plug this code into a new 
page and get it to load as code (in one sample I've been able to get the
code to appear as browser text).  I'd prefer to have the second window only
exist when it is called (no saved file on the server). 

I know that this is a little fuzzy request, but does anyone have any
examples or samples that I can look at to see how to do this?



tia

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA

This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.