Thats correct, ajax calls cannot retrieve external pages for security
reasons. The only way to get external pages onto your page is to use an
iframe, or a simple server side proxy that you can call with your ajax.

On 5/9/07, Massimiliano Marini <[EMAIL PROTECTED]> wrote:


> something like this:
>       example : $('#mydiv').load('http://www.jquery.com/');

From the manual :

load( String url, Object params, Function callback )
returns jQuery Load HTML from a remote file and inject it into the DOM.

for "remote file" it's meant a file in the same server where is the
application and not a remote file in a remote url.

If I'm in error please correct me.

--
Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
"It's easier to invent the future than to predict it."  -- Alan Kay

Reply via email to