Hello! There is a code that dynamically outputs input :
var inputA = $('<input/>', { type: 'text', name: 'answer', placeholder: 'Ответ', value: '', class: 'form-control', id:'answer', style: 'margin-top: 5px; margin-bottom: 15px' }).appendTo(div); } It is necessary instead of input output select with values from the database. Code written for example