Multi cross domain

Discussion in 'JavaScript' started by lovefinder, Aug 8, 2006.

  1. #1
    Can i read data with AJAX (I am using Simple AJAX Code-Kit (SACK) version 1.6.1 ) from a diferent domain name?! Some people told that this is impossible :mad:


    I can very easy load local files like :

    ajax_loadContent('div1','file1.php);
    or like:
    ajax_loadContent('div','file2.php?goto=http://website.com');



    But i can't open external files like :


    ajax_loadContent('ysite1','http://website.com');


    what I am doing wrong


    what can I do ? :(
     
    lovefinder, Aug 8, 2006 IP