I want to loop for every object in ajax response and append and html with this data to an html div with id #jobs.
$.ajax({
  url: '/browse_jobs',
  data: {
    'keyword': keyword,
  },
  dataType: 'json',
  success: function(data) {
    if (data) {
      $.each(data.data, function(k, v) {
        $("#jobs").replaceAll(`
                    <div id="jobs" class="col-lg-4 col-md-4 col-sm-6 col-xs-12">
                                <div class="emply-list box">
                                    <div class="emply-list-thumb">
                                        <a href="/company/{{i.slug}}" title="">
                                                <img src="/media/${data.data.fields.logo}" width="80" height="80">
                                        </a>
                                    </div>
                                    <div class="emply-list-info">
                                        <h3><a href="/company/{{i.slug}}" title="">${data.data.fields.title}</a></h3>
                                        <span>Accountancy, Human</span>
                                        <h6><i class="la la-map-marker"></i> ${data.data.fields.city}, ${data.data.fields.country}</h6>
                                    </div>
                                </div>
                            </div>
                `);
      });
    }
  }
});
And when I do this it only change the first div with id jobs.
 
     
    