Back to top

Autore Topic: jQuery Ajax Get da url esterno  (Letto 1152 volte)

Offline map

  • Appassionato
  • ***
  • Post: 355
  • Sesso: Maschio
  • Siti Web Cagliari Web Agency
    • Mostra profilo
jQuery Ajax Get da url esterno
« il: 25 Giu 2013, 18:55:10 »
Ciao,


Come posso fare un GET a un controller di un componente in un url esterno.

Ora sto usando la funzione per fare il GET all'interno del sito :

jQuery.ajax({
type: "GET",
dataType : 'html', url: "index.php?option=com_name&task=get_function&format=json",
 success: function(response){ }
});
Se provo esternamente "http://www.sitie.it/index.php?option=com_name&task=get_function&format=json" non funziona.

Come posso fare ?

 



Web Design Bolzano Kreatif