title: Display all videos from JSON (ASP.NET MVC)
body: <p>I have code for AJAX to get Links from table</p>
  
  <p>Here is code</p>
  
  <pre><code> &lt;script&gt;
    $('#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];
          var videoHTML = '&lt;video width="320" height="240" style="margin-left: 130px;margin-top: 20px;" controls&gt;';
          videoHTML += '&lt;source src="' + document.location.origin + "/uploads/" + question2.Linkes + ".webm" + '" type="video/webm"&gt;';
          videoHTML += '&lt;/video&gt;';
          $(".videolist").append(videoHTML);
        }
      });
    });
  &lt;/script&gt;
  </code></pre>
  
  <p>Now I display only first video in array, but It can be about 10, I need to display all ten videos, how I need to rewrite code?</p>