Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 1st, 2004, 01:49 AM
Authorized User
 
Join Date: Oct 2003
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default save directly (filteredHTML) instead of open first

How to save directly the string filteredHTML instead of open html first?

Javascript coding: (tbContentElement is a object in wysiwyg editor)

filteredHTML = tbContentElement.FilterSourceCode (tbContentElement.DOM.body.innerHTML);
tbContentElement.document.write(filteredHTML);
document.execCommand('saveas', false, "html");

All kind of help will be highly appreciated. Thank you a million.






Similar Threads
Thread Thread Starter Forum Replies Last Post
open image file from client then save to server hendyhanusin ASP.NET 1.0 and 1.1 Basics 11 March 22nd, 2007 07:28 AM
how to open\save Powerpoint from VB keepsmiling_sruti VB How-To 0 July 29th, 2005 07:54 AM
open/ save default.aspx mosad2 BOOK: ASP.NET Website Programming Problem-Design-Solution 1 January 18th, 2005 08:23 AM
Can Open/save dialog box be eliminated? janice_2k4 VBScript 2 June 14th, 2004 03:53 PM
Open file and save it? tpsmith78 VS.NET 2002/2003 0 January 28th, 2004 12:30 PM





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