There is a dynamic table by clicking on the button added fields. There is a first field made by autocomplete , and in the desktop fields information is pulled from the base. what would the information recorded in the right field I do so

success: function(data){ $("input.price"+i).val(data); }

For input it is clear, but how to do if you need to insert a picture? If this can be done?

  • Perhaps everything can be solved by adding the src attribute to the image. - Sergey Glazirin
  • Where fields are also added, add the <img> element, then use the jquery method to set the src attribute on this element: .attr('src',data) . There is no more accurate answer. - Diskyp
  • Thanks helped everything works. - Sender1050

0