0
var value1= $(this).attr('id');
var value2 = $(this).attr('name');
var value3 = $(this).attr('image');
$.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: "yoururlhere",
data: "{'data1':'" + value1+ "', 'data2':'" + value2+ "', 'data3':'" + value3+ "'}",
success: function (result) {
//do somthing here
}
});
seine Arbeit POST Wert aber FILE Bildwert leer.Bilddaten, wie Ajax senden PHP
Ich brauche Image-Wert, da Bild-URL in der Datenbank einbetten.