WebSpider member offline |
|
posts: |
147 |
joined: |
06/29/2006 |
from: |
Seattle, WA |
|
|
|
|
|
AJAX can not do cross-domain access |
This is not a problem of AJAX, it's the problem of JavaScript which bears the same domain policy, as in Applet. That means you can not do cross-domain access via AJAX to get data from the third-party URL. For example, you have an website with domain foo.com and you want to integrate Yahoo's finance information into your page content. You can not make it work by directing access it via AJAX.
Two solutions:
1) Workaround solution: Use iframe instead 2) Straight Solution: Use AJAX via a proxy
|
|
|
|
|
|