[jQuery] Re: .load external page by url

2007-05-10 Thread Massimiliano Marini
Massimiliano? From Fabico? O.o Not. From Italy. -- Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/ It's easier to invent the future than to predict it. -- Alan Kay

[jQuery] Re: .load external page by url

2007-05-09 Thread Massimiliano Marini
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

[jQuery] Re: .load external page by url

2007-05-09 Thread Matt Stith
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:

[jQuery] Re: .load external page by url

2007-05-09 Thread Massimiliano Marini
Hi Matt, 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. Thanks for your help. -- Massimiliano Marini -

[jQuery] Re: .load external page by url

2007-05-09 Thread Paulo Gabriel Antunes
Massimiliano? From Fabico? O.o On 5/9/07, Massimiliano Marini [EMAIL PROTECTED] wrote: Hi Matt, 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