The whole page is dynamically made friends with the data received from the server like this:
$('<input>') .attr('id', 'input' + id) .attr('type', 'text') .appendTo('#par' + i); <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>