Javascript Access to HTMLContent

  •  07-23-2004, 7:03 PM

    Javascript Access to HTMLContent

    Greetings! I have CuteEdit v1.6 for classic ASP (I am waiting to hear back about upgrading), and I wanted to add an export option for the user to save the content to their own computer.

     
    Basically I have a Javascript function that will do the trick to open up a new browser window with the content, where the user can then do a "Save As...", but I can't seem to be able to access the content via Javascript.
     
    I am sure I am doing it wrong, but I tried document.theForm.Editor1.text.value and document.theForm.Editor1.HTMLContent.value and neither one works.
     
    Can anyone offer any suggestions.
     
    Thanks!
     
View Complete Thread