1
Ich habe einen nächsten Code über Popover, es funktioniert gut mit Inhalt, aber Popovers erstellt nicht. ist alles in Ordnung mit diesem Code?Bootstrap Popover Inhalt über Ajax
$.ajax({
url: url,
type: 'POST',
data: data,
dataType: 'html',
success: function(answer) {
$(element).popover({
container: 'body',
html: true,
content: function (answer) {
return answer;
}
});
$(element).popover('show')
},
})
Element ist ein Tag. und antwort ist html als string. Wenn es zum popover Teil kommt, sieht nichts wie passiert aus.