By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,598 Members | 1,894 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,598 IT Pros & Developers. It's quick & easy.

FAQ Topic - How do I download a page to a variable?

P: n/a
-----------------------------------------------------------------------
FAQ Topic - How do I download a page to a variable?
-----------------------------------------------------------------------

Within a web-page use the XML HTTP Request object, see:

http://jibbering.com/2002/4/httprequest.html

http://www.ajaxtoolbox.com/
--
Postings such as this are automatically sent once a day. Their
goal is to answer repeated questions, and to offer the content to
the community for continuous evaluation/improvement. The complete
comp.lang.javascript FAQ is at http://jibbering.com/faq/index.html.
The FAQ workers are a group of volunteers. The sendings of these
daily posts are proficiently hosted by http://www.pair.com.

Nov 16 '07 #1
Share this Question
Share on Google+
5 Replies


P: n/a
In comp.lang.javascript message <47***********************@news.sunsite.
dk>, Fri, 16 Nov 2007 00:00:01, FAQ server <ja********@dotinternet.be>
posted:
>FAQ Topic - How do I download a page to a variable?
>
Within a web-page use the XML HTTP Request object, see:

http://jibbering.com/2002/4/httprequest.html
That says something about the Object, but apparently not about how to
use it to download.

http://en.wikipedia.org/wiki/Xmlhttp ?

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME.
Web <URL:http://www.merlyn.demon.co.uk/- FAQish topics, acronyms, & links.
Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
Do not Mail News to me. Before a reply, quote with ">" or "" (SonOfRFC1036)
Nov 17 '07 #2

P: n/a
Dr J R Stockton said the following on 11/17/2007 3:03 PM:
In comp.lang.javascript message <47***********************@news.sunsite.
dk>, Fri, 16 Nov 2007 00:00:01, FAQ server <ja********@dotinternet.be>
posted:
>FAQ Topic - How do I download a page to a variable?
>Within a web-page use the XML HTTP Request object, see:

http://jibbering.com/2002/4/httprequest.html

That says something about the Object, but apparently not about how to
use it to download.
It does, just not explicitly in those words. Either way, the entry is
tentatively being removed and combined with the AJAX question.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Nov 17 '07 #3

P: n/a
In comp.lang.javascript message <Av*********************@giganews.com>,
Sat, 17 Nov 2007 17:14:41, Randy Webb <Hi************@aol.composted:
>Dr J R Stockton said the following on 11/17/2007 3:03 PM:
>In comp.lang.javascript message <47***********************@news.sunsite.
dk>, Fri, 16 Nov 2007 00:00:01, FAQ server <ja********@dotinternet.be>
posted:
>>FAQ Topic - How do I download a page to a variable?
>>Within a web-page use the XML HTTP Request object, see:

http://jibbering.com/2002/4/httprequest.html
That says something about the Object, but apparently not about how
to
use it to download.

It does, just not explicitly in those words.
It's irrelevant whether *you* can find the answer in the reference; it
is whether one who does not know the answer can find it, and find enough
relevant detail to be useful.

--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME.
Web <URL:http://www.merlyn.demon.co.uk/- FAQish topics, acronyms, & links.
Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
Do not Mail News to me. Before a reply, quote with ">" or "" (SonOfRFC1036)
Nov 18 '07 #4

P: n/a
Dr J R Stockton said the following on 11/18/2007 8:50 AM:
In comp.lang.javascript message <Av*********************@giganews.com>,
Sat, 17 Nov 2007 17:14:41, Randy Webb <Hi************@aol.composted:
>Dr J R Stockton said the following on 11/17/2007 3:03 PM:
>>In comp.lang.javascript message <47***********************@news.sunsite.
dk>, Fri, 16 Nov 2007 00:00:01, FAQ server <ja********@dotinternet.be>
posted:

FAQ Topic - How do I download a page to a variable?
Within a web-page use the XML HTTP Request object, see:

http://jibbering.com/2002/4/httprequest.html
That says something about the Object, but apparently not about how
to
use it to download.
It does, just not explicitly in those words.

It's irrelevant whether *you* can find the answer in the reference; it
is whether one who does not know the answer can find it, and find enough
relevant detail to be useful.
And they can if they use diligent care in reading the page and then
consider what it has to say, in parts and in whole.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Nov 18 '07 #5

P: n/a
VK
Randy Webb <HikksNotAtH...@aol.comwrote
Dr J R Stockton said the following
Sorry to disturb, Gentlemen :-) I just was wondering if it could be
the time to add a line (below AJAX) about WebService

http://www.mozilla.org/projects/webservices/
http://msdn2.microsoft.com/ru-ru/web.../Aa740691.aspx

Especially since it is the solution chosen by browser producers for
secured cross-domain communication.

Nov 18 '07 #6

This discussion thread is closed

Replies have been disabled for this discussion.