text: $(document).ready( function () {
      var allOffersInThePage = $('.main_out_wrapper_user_offers');
  
      $('#withAddedPhoto').on('click', function (e) {
          e.preventDefault();
          $.ajax({
              url: './withPhoto',
              scriptCharset: 'UTF-8',
              method: 'GET',
              mimeType: 'application/json',
              dataType: "text json",
              complete: function (data) {
                  var array = $.parseJSON(data.responseText);
                  allOffersInThePage.empty();
                  loadOfferInfo(array);
              }
          });
      });
  });
  
  