Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the 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
Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: pgtips
Forum: Javascript How-To September 4th, 2003, 09:12 AM
Replies: 16
Views: 31,998
Posted By pgtips
Hi Roberto, as you know from the code I gave...

Hi Roberto,

as you know from the code I gave you before, x.responseText gives you the file contents, so x.responseText.length should give you its size. I guess you could do something like this:
...
Forum: Javascript How-To August 28th, 2003, 08:15 AM
Replies: 16
Views: 31,998
Posted By pgtips
Here you go Roberto, this piece of code uses the...

Here you go Roberto, this piece of code uses the XMLHTTP object from MSXML v4.

<HTML>
<HEAD>
<script LANGUAGE="JavaScript">
function SaveToDisk(sUrl, sPath)
{
var x = new...
Forum: Javascript How-To August 28th, 2003, 02:58 AM
Replies: 16
Views: 31,998
Posted By pgtips
Yes and No :) You would have to find another...

Yes and No :)

You would have to find another method to get the HTML source of the page from the other URL becuase it would obviously not be in document.documentElement.outerHTML.

Maybe you...
Forum: Javascript How-To August 26th, 2003, 08:35 AM
Replies: 16
Views: 31,998
Posted By pgtips
OTMH the only way I can think to do this is...

OTMH the only way I can think to do this is Windows/IE specific. You can use document.documentElement.outerHTML to get the HTML source for the page, then use the FileSystemObject to save it off to...
Showing results 1 to 4 of 4

 


All times are GMT -4. The time now is 11:42 AM.


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