-----------------------------------------------------------------------
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. 5 1637
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)
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/
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)
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/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: peetm |
last post by:
I'd like to write to a log whenever a visitor to my site downloads a
file. So, I'd like the link they click to be to a php 'page' that
returns the file. Don't know how to do that!
Side...
|
by: Nathan Sokalski |
last post by:
I have a webform that contains a button which I want to do three things:
1. Delete a record from a database
2. Let the user download a text file that is generated
3. Refresh the page to show...
|
by: Rigga |
last post by:
Hi all,
I know this is nothing to do with microsoft.public.dotnet.languages.vb.. but
it's the only news group it happens on...
I use Outlook Express newsreader, and have set this newsgroup to...
|
by: FAQ server |
last post by:
-----------------------------------------------------------------------
FAQ Topic - How do I download a page to a variable?
-----------------------------------------------------------------------
...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |