From: FAQ server on 1 Mar 2010 19:00 ----------------------------------------------------------------------- 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. http://jibbering.com/2002/4/httprequest.html 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.
From: Dr J R Stockton on 2 Mar 2010 17:59 In comp.lang.javascript message <4b8c550e$0$272$14726298(a)news.sunsite.dk >, Tue, 2 Mar 2010 00:00:02, FAQ server <javascript(a)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. Not the only way. A page can be loaded into an iframe and the body can be put "into" a variable. See for example the moderately brief (21kB) <URL:http://www.merlyn.demon.co.uk/sitedata.htm>, putting a copy of what is in the textarea into your counts.txt. -- (c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME. Grandson-Of-RFC1036 is released. RFC 5536 Netnews Article Format is a subset of Internet Message Format which is described in RFC 5532. The RFCs are read together to determine standard Netnews article format.
|
Pages: 1 Prev: FAQ Topic - What is Ajax? (2010-03-01) Next: Checking when browser is closing |