-
HTML from a String
Hi,
This sounds like it should be simple but...
On the client side in script I have a string containing HTML.
This is not the HTML of the page that's displayed to the user,
it's a whole different html document.
I want to instantiate some object i.e the HTMLDocument, HTMLWindow2
etc, and assign it this string, so that I can then have it print
the HTML, as it would appear in a browser.
Basically, I'm trying to print documents from the client side, without
the user needing to physically load the document onto the screen.
I'm not haveing any luck with the Microsoft HTML Objects.
I'll consider any Client side language, or other object models.
Thanks.
-Anthony
-
Re: HTML from a String
I too am sure there must be a better way but what we do is open IE with a
blank page and then document.write the string over it. You can then call
the print method.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks