Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FAQ Topic - How do I download a page to a variable? (2010-09-02)

0 views
Skip to first unread message

FAQ server

unread,
Sep 1, 2010, 7:00:03 PM9/1/10
to
-----------------------------------------------------------------------
FAQ Topic - How do I download a page to a variable?
-----------------------------------------------------------------------

Although `XMLHttpRequest` can be used to download
entire pages, it is often used for downloading small pieces
of data that can be used to update the current page.

<URL: http://jibbering.com/2002/4/httprequest.html>
<URL: http://www.ajaxtoolbox.com/>


The complete comp.lang.javascript FAQ is at
http://jibbering.com/faq/

--

The sendings of these daily posts are proficiently hosted
by http://www.pair.com.

Dr J R Stockton

unread,
Sep 3, 2010, 6:36:37 PM9/3/10
to
In comp.lang.javascript message <4c7edafb$0$50452$1472...@news.sunsite.
dk>, Wed, 1 Sep 2010 23:00:03, FAQ server <javas...@dotinternet.be>
posted:

>-----------------------------------------------------------------------
>FAQ Topic - How do I download a page to a variable?
>-----------------------------------------------------------------------
>
>Although `XMLHttpRequest` can be used to download
>entire pages, it is often used for downloading small pieces
>of data that can be used to update the current page.

No doubt. But there are circumstances compatible with the Subject line
in which that would be over-kill and sometimes impossible.

There should be mention of loading a same-domain HTML or text page into
an iframe and reading that.

Example (for you but not for FAQ)
<URL:http://www.merlyn.demon.co.uk/linxckek.htm>.

--
(c) John Stockton, nr London UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/&c., FAQqy topics & links;
<URL:http://www.merlyn.demon.co.uk/clpb-faq.txt> RAH Prins : c.l.p.b mFAQ;
<URL:ftp://garbo.uwasa.fi/pc/link/tsfaqp.zip> Timo Salmi's Turbo Pascal FAQ.

0 new messages