469,622 Members | 1,670 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,622 developers. It's quick & easy.

fetch in firefox

Is there a way to open a URL invisibly, then get the source code of the
page? I would like to put the source code of a URL into a variable without
actually opening the URL in a browser.

thanks in advance!
Sep 12 '05 #1
1 1390
petes wrote:
Is there a way to open a URL invisibly, then get the source code of the
page? I would like to put the source code of a URL into a variable without
actually opening the URL in a browser.

thanks in advance!


XMLHTTP is probably what your looking for, although if you
want to get data from different servers than the one your script is
on , you may need a server side script that can proxy the request cross
domain

--
--.
--=<> Dr. Clue (A.K.A. Ian A. Storms) <>=-- C++,HTML, CSS,Javascript
--=<> http://resume.drclue.net <>=-- AJAX, SOAP, XML, HTTP
--=<> http://www.drclue.net <>=-- SERVLETS,TCP/IP, SQL
--.
Sep 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Agoston Bejo | last post: by
8 posts views Thread by Evan Smith | last post: by
2 posts views Thread by Jesse Woo | last post: by
10 posts views Thread by scoonie999 | last post: by
7 posts views Thread by Frank Swarbrick | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.