ebody: Ajax und Google Suche

Beitrag lesen

Ich habe den Code angepasst

$.ajax({  
                        type: "GET",  
                        url : "ajax.php",  
                        dataType: "html",  
                        data: { seite: "https://www.google.de/search?q=jquery+ajax", art: "suche" },  
                        error: function () {  
                                console.log("Oh no! Something went terribly wrong in here!");  
                        },  
success: function () {  
				console.log("Hat funktioniert!");  
			}  
                })  
                .done(function (data) {  
                                console.log("Inhalt: " + data.content);  
                        });

success Funktion wird ausgeführt. Die error Funktion nicht mehr.

data.content ist allerdings undefined.

Schon mal besser als eben, aber noch nicht 100% :-)

Gruß
ebody