Joomla.it Forum

Joomla! 2.5 (versione con supporto terminato) => Joomla! 1.6/1.7/2.5 => : map 25 Jun 2013, 18:55:10

: jQuery Ajax Get da url esterno
: map 25 Jun 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 ?