I need to call $.ajax with a fully qualified url. For instance:

$.ajax(
                {
                        type: "GET",
                        url: "http://www.google.com";,
                        dataType: "html",
                        success: function(data)
                        {
                                alert(data);
                        },
                        error: function(XMLHttpRequest, textStatus, errorThrown)
                        {
                                alert(textStatus + errorThrown);
                        }
                });

It always hits the alert in the error function with "errorundefined".

Reply via email to