Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 3rd, 2004, 12:00 AM
Authorized User
Join Date: Oct 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to save string value as html file?

Hi everyone! Does anyone know how to parse string to save function then save it as a html file in wysiwyg editor?

my code:
function MENU_FILE_SAVE_onclick() {

    filteredHTML = tbContentElement.FilterSourceCode (tbContentElement.DOM.body.innerHTML);


document.execCommand("saveas");//this will save the whole part of
editor, it can't use for it.

i want to save the string value (filteredHTML) in html file. Thank you. Example: <P>&nbsp;</P>

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove orphaned html elements from html string pauliehaha C# 2008 aka C# 3.0 2 June 30th, 2008 09:40 AM
Assign label or string to external html file Gin262 ASP.NET 2.0 Basics 2 May 30th, 2007 06:39 AM
html form - save help bunnyhead HTML Code Clinic 2 January 24th, 2005 05:55 AM
File to binary and save as string eelisMX Pro VB.NET 2002/2003 4 December 8th, 2004 10:26 AM
how to save html output of xslt to file wtalbin XSLT 2 August 15th, 2003 09:14 PM

All times are GMT -4. The time now is 03:01 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.