I have AJAX call that works and return me JSON
Here is AJAX call
<script>
$('#display').click(function () {
var vacancyId = $("#vacancy").val();
var model = {
vacancyId: vacancyId
};
$.ajax({
url: '@Url.Action("Links", "Questions")',
contentType: 'application/json; charset=utf-8',
data: JSON.stringify(model),
type: 'POST',
dataType: 'json',
processData: false,
success: function (data) {
var question2 = data[0];
$(".videolist").append('<video>' + question2.Linkes + '</video>');
}
});
});
I need to append <video>
block where src
will be question2.Linkes
How I can do this?