[Javascript] Loading html content from another server usingJavascript ?

jsWalter jsWalter at torres.ws
Wed Aug 4 16:07:47 CDT 2004


For (major) security reasons, you can not run JS from one domain against
data from another domain.

Big hole that would be!

Now, you can load pages/scripts from different domains into different
frames, but they can not communicate.

Walter


> -----Original Message-----
> From: javascript-bounces at LaTech.edu 
> [mailto:javascript-bounces at LaTech.edu] On Behalf Of dev at qroute.net
> Sent: Wednesday, August 04, 2004 3:08 PM
> To: [JavaScript List]
> Subject: [Javascript] Loading html content from another 
> server usingJavascript ? 
> 
> 
> Is  it possible to do something like this
> 
> var htmlsource = getsource("http://www.domain.com/somepage.htm")   in
> javascript at client browser.
> What tricks would you recommend to accomplisg it ?
> Is XML or hidden frame or any other way that you think can do 
> the job ?





More information about the Javascript mailing list